mirror of
https://github.com/appium/appium.git
synced 2026-10-29 04:36:39 +08:00
- appium@3.4.1 - @appium/base-driver@10.5.1 - @appium/base-plugin@3.2.3 - @appium/docutils@2.4.1 - @appium/eslint-config-appium-ts@3.2.1 - @appium/fake-plugin@4.2.3 - @appium/images-plugin@4.2.3 - @appium/storage-plugin@1.1.3 - @appium/support@7.2.1 - @appium/test-support@4.1.3
@appium/eslint-config-appium-ts
Provides a reusable ESLint shared configuration for Appium and Appium-adjacent projects.
Usage
Install the package:
npm install @appium/eslint-config-appium-ts --save-dev
Then add it to your eslint.config.mjs file:
import appiumConfig from '@appium/eslint-config-appium-ts';
import {defineConfig} from 'eslint/config';
export default defineConfig([
{
extends: [appiumConfig],
// add any other config changes
},
]);
Or for ESLint < 9.22.0:
import appiumConfig from '@appium/eslint-config-appium-ts';
export default [
...appiumConfig,
// add any other config changes
];
Notes
- This configuration is intended to be used alongside Prettier.
License
Copyright © 2023 OpenJS Foundation. Licensed Apache-2.0