1.0.1 • Published 5 years ago

eslint-config-pcln-accessibility v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

eslint-config-pcln-accessibility

npm version

Sharable eslint accessibility rules by priceline

Usage

If you want to use this ESLint configuration in a project, you can install it with the following steps.

First, install this package, ESLint and the necessary plugins.

npm install --save-dev eslint-config-pcln-accessibility eslint-plugin-jsx-a11y@6.x

Then create a file named .eslintrc with following contents in the root folder of your project (or add it to your existing .eslintrc file):

{
  "extends": "pcln-accessibility"
}

That's it! You will now see warnings in your editor if you're violating accessibility eslint rules

Accessibility Checks

The following rules from the eslint-plugin-jsx-a11y plugin are activated with warnings: