eslint-config-pcln-accessibility

1.0.1 • Public • Published

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:

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-pcln-accessibility

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

6.55 kB

Total Files

4

Last publish

Collaborators

  • jxnblk
  • masafari