0.0.0 • Published 7 years ago
eslint-plugin-ember-a11y-testing v0.0.0
eslint-plugin-ember-a11y-testing
ESLint plugin for ember-a11y-testing
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-ember-a11y-testing:
$ npm install eslint-plugin-ember-a11y-testing --save-devNote: 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"
}
}0.0.0
7 years ago