mirror of
https://github.com/appium/appium.git
synced 2026-02-21 10:49:52 -06:00
- appium@2.0.0-beta.59 - @appium/base-driver@9.3.5 - @appium/base-plugin@2.2.5 - @appium/doctor@2.0.11 - @appium/docutils@0.3.2 - @appium/driver-test-support@0.4.3 - @appium/eslint-config-appium-ts@0.3.1 - @appium/eslint-config-appium@8.0.3 - @appium/execute-driver-plugin@3.0.10 - @appium/fake-driver@5.2.3 - @appium/fake-plugin@3.1.9 - @appium/images-plugin@2.0.9 - @appium/opencv@2.0.9 - @appium/plugin-test-support@0.3.11 - @appium/support@3.1.9 - @appium/test-support@3.0.11 - @appium/typedoc-plugin-appium@0.5.3 - @appium/types@0.10.3 - @appium/universal-xml-plugin@1.0.8
@appium/eslint-config-appium
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