eslint-plugin-ember-a11y-testing
v0.0.0
Published
ESLint plugin for ember-a11y-testing
Downloads
6
Maintainers
Readme
eslint-plugin-ember-a11y-testing
ESLint plugin for ember-a11y-testing
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-ember-a11y-testing
:
$ npm install eslint-plugin-ember-a11y-testing --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-ember-a11y-testing
globally.
Usage
Add ember-a11y-testing
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"ember-a11y-testing"
]
}
Or extend the recommended config:
{
"extends": [
"eslint:recommended",
"plugin:ember/recommended",
"plugin:ember-a11y-testing/recommended"
]
}
Or configure the rules you want to use under the rules section.
{
"rules": {
"ember-a11y-testing/a11y-audit": "error"
}
}