@appium/eslint-config-appium

Shared config for Appium's eslint style

Usage no npm install needed!

<script type="module">
  import appiumEslintConfigAppium from 'https://cdn.skypack.dev/@appium/eslint-config-appium';
</script>

README

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: