Provides a reusable ESLint shared configuration for Appium and Appium-adjacent projects.
Install the package with npm
v8 or newer:
npm install @appium/eslint-config-appium-ts --save-dev
And then, in your eslint.config.mjs
file, extend the configuration:
import appiumConfig from '@appium/eslint-config-appium-ts';
export default [
...appiumConfig,
// add any other config changes
];
This config requires the following packages be installed (as peer dependencies) in your project. See the package.json
for the required versions.
- eslint
- eslint-config-prettier
- eslint-plugin-import
- eslint-plugin-mocha
- eslint-plugin-promise
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- This configuration is intended to be used alongside Prettier.
Copyright © 2023 OpenJS Foundation. Licensed Apache-2.0