Files
appium/packages/eslint-config-appium
Christopher Hiller 4a203fa876 chore: add appium-support to repo
- add `npm start` script to run appium server
- add `npm run doctor` convenience script to run doctor
- renamed `clean` script to `reinstall`
- added new `clean` script to just clean
- updated the "appium from source" doc
2021-05-17 14:17:46 -07:00
..
2021-05-17 14:17:46 -07:00

Appium ESLint Shared Configuation

This package works to provide eslint shared configuration to replace the need for a local .eslintrc file.

It uses babel-eslint as a parser.

Usage

Install the package

npm install @appium/eslint-config-appium eslint-plugin-import eslint-plugin-mocha eslint-plugin-promise -D

And then, in your .eslintrc file extend the configuration

{
  "extends": "@appium/eslint-config-appium"
}

If you are using @appium/gulp-plugins you can then run

gulp eslint

Peer Dependencies

This config requires the following packages be installed (as dev dependencies) in your project: