Files
appium/packages/eslint-config-appium
Christopher Hiller 5928026f9c Publish
- @appium/eslint-config-appium@6.0.0
 - @appium/gulp-plugins@7.0.0
2022-05-03 15:02:23 -07:00
..
2022-05-03 15:02:23 -07:00
2022-05-03 15:02:23 -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: