1.0.0 • Published 8 months ago

audacia-playwright-eslint-config v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

audacia-eslint-config

The @audacia/playwright-eslint-config npm package contains some default ESLint configuration Playwright TypeScript projects.

Getting started

First, install the package from the private npm feed: npm install @audacia/playwright-eslint-config --save-dev

Next, modify your ESLint config file (usually either .eslintrc.js or .eslintrc.json) to extend the Audacia Playwright ESLint config package by adding it to the extends property. You also need to tell ESLint where your TypeScript configuration is located (i.e. your tsconfig.json file):

For example, in .eslintrc.json this may look something like:

"extends": [
    '@audacia/playwright-eslint-config'
],
"parserOptions": {
    "project": './tsconfig.json'
}

Finally, ensure that your code editor is set up to use ESLint.

The eslint-config-airbnb-typescript library has useful documentation describing how it should be used together with various troubleshooting tips.

Editing This Package

  1. After making changes to this package, use npm pack to create a local package, and then use npm i {path to package} --install-links to test in a consuming app.
1.0.0

8 months ago