Skip to content

istanbuljs/eslint-plugin-istanbul

Repository files navigation

eslint-plugin-istanbul

npm version CI

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

See the ESLint docs for more information about extending config files.