mirror of
https://github.com/appium/appium.git
synced 2026-10-24 01:28:55 +08:00
5c7af8ee73
- appium@2.0.0-beta.36 - @appium/base-driver@8.5.4 - @appium/base-plugin@1.9.0 - @appium/doctor@1.16.20 - @appium/docutils@0.0.5 - @appium/eslint-config-appium@6.0.1 - @appium/execute-driver-plugin@2.0.0 - @appium/fake-driver@4.0.0 - @appium/fake-plugin@2.0.0 - @appium/gulp-plugins@7.0.1 - @appium/images-plugin@1.2.0 - @appium/opencv@1.0.8 - @appium/relaxed-caps-plugin@1.0.0-beta.7 - @appium/schema@0.0.6 - @appium/support@2.59.0 - @appium/test-support@1.3.20 - @appium/types@0.2.4 - @appium/universal-xml-plugin@1.0.0-beta.9
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: