Enforces best practices for ember mocha tests
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-chirp-test-rules
:
$ npm install eslint-plugin-chirp-test-rules --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-chirp-test-rules
globally.
Add chirp-test-rules
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["chirp-test-rules"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"chirp-test-rules/rule-name": 2
}
}
- Fill in provided rules here