WIP - ESLint rules for AVA
$ npm install --save-dev eslint eslint-plugin-ava
Configure it in package.json.
{
"name": "my-awesome-project",
"eslintConfig": {
"plugins": [
"ava"
],
"rules": {
"ava/test-ended": 2
}
}
}
The rules will only activate in test files.
- test-ended - Ensure callback tests are explicitly ended.
MIT © Sindre Sorhus