mirror of
https://github.com/appium/appium.git
synced 2026-10-27 20:04:24 +08:00
- appium@2.15.0 - @appium/base-driver@9.15.0 - @appium/base-plugin@2.3.0 - @appium/docutils@1.0.29 - @appium/driver-test-support@0.7.4 - @appium/eslint-config-appium-ts@1.0.2 - @appium/fake-driver@5.7.0 - @appium/fake-plugin@3.2.0 - @appium/images-plugin@3.0.27 - @appium/plugin-test-support@0.3.49 - @appium/support@6.0.3 - @appium/test-support@3.1.3 - @appium/types@0.24.0
@appium/eslint-config-appium-ts
Provides a reusable ESLint shared configuration for Appium and Appium-adjacent projects.
Usage
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
];
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
- @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