Skip to content

priceline/eslint-config-pcln-accessibility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

shareable ESLint accessibility configuration used by priceline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published