Back to Appium

@appium/eslint-config-appium-ts

packages/eslint-config-appium-ts/README.md

7.9.01.2 KB
Original Source

@appium/eslint-config-appium-ts

Provides a reusable ESLint shared configuration for Appium and Appium-adjacent projects.

Usage

Install the package:

bash
npm install @appium/eslint-config-appium-ts --save-dev

Then add it to your eslint.config.mjs file:

js
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:

js
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