JSPM

  • Created
  • Published
  • Downloads 515342
  • Score
    100M100P100Q173889F
  • License MIT

ESLint rules for AVA

Package Exports

  • eslint-plugin-ava

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-plugin-ava) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

eslint-plugin-ava Build Status

ESLint rules for AVA

Install

$ npm install --save-dev eslint eslint-plugin-ava

Usage

Configure it in package.json.

{
    "name": "my-awesome-project",
    "eslintConfig": {
        "plugins": [
            "ava"
        ],
        "rules": {
            "ava/prefer-power-assert": 0,
            "ava/test-ended": 2
        }
    }
}

Rules

The rules will only activate in test files.

License

MIT © Sindre Sorhus