mirror of
https://github.com/appium/appium.git
synced 2026-10-25 10:17:00 +08:00
- appium@2.0.0-beta.26 - @appium/base-driver@8.3.0 - @appium/doctor@1.16.10 - @appium/eslint-config-appium@5.0.2 - @appium/fake-driver@3.2.5 - @appium/gulp-plugins@6.0.2 - @appium/opencv@1.0.2 - @appium/support@2.56.0 - @appium/test-support@1.3.12
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: