Provides a reusable ESLint shared configuration for Appium and Appium-adjacent projects (for TypeScript)
If your package has no TypeScript sources, you don't need this. However, if your package does have TypeScript sources, you can't lint those files without this.
Install the package with npm
v8 or newer:
npm install @appium/eslint-config-appium-ts --save-dev
And then, in your .eslintrc
file, extend the configuration:
{
"extends": "@appium/eslint-config-appium-ts"
}
This config requires the following packages be installed (as peer dependencies) in your project. See the package.json
for the required versions.
- eslint
- eslint-config-prettier
- eslint-plugin-import
- eslint-plugin-mocha
- eslint-plugin-promise
- @appium/eslint-config-appium
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- This configuration is intended to be used alongside Prettier.
Copyright © 2023 OpenJS Foundation. Licensed Apache-2.0