@appium/eslint-config-appium-ts
v0.3.3
Published
Shared ESLint config for Appium projects (TypeScript version)
Downloads
7,991
Readme
@appium/eslint-config-appium-ts
Provides a reusable ESLint shared configuration for Appium and Appium-adjacent projects (for TypeScript)
Motivation
If your package has no TypeScript sources, you don't need this. However, if your package does have TypeScript sources, you can't lint those files without this.
Usage
Install the package with npm
v8 or newer:
npm install @appium/eslint-config-appium-ts --save-dev
And then, in your .eslintrc
file, extend the configuration:
{
"extends": "@appium/eslint-config-appium-ts"
}
Peer Dependencies
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
- @appium/eslint-config-appium
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
Notes
- This configuration is intended to be used alongside Prettier.
License
Copyright © 2023 OpenJS Foundation. Licensed Apache-2.0