eslint-plugin-istanbul
v0.1.2
Published
ESLint plugin for istanbul code coverage
Downloads
18,582
Readme
eslint-plugin-istanbul
A set of rules to enforce good practices for istanbuljs.
Install
$ npm install --save-dev eslint eslint-plugin-istanbul
Usage
Configure it in package.json
.
{
"name": "my-awesome-project",
"eslintConfig": {
"plugins": ["istanbul"],
"rules": {
"istanbul/no-ignore-file": "error",
"istanbul/prefer-ignore-reason": "error"
}
}
}
Rules
- no-ignore-file - Bans istanbul ignore file comment.
- prefer-ignore-reason - Enforce specifying a reason to ignore comments.
See the ESLint docs for more information about extending config files.