Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 561 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 561 Bytes

eslint-plugin-testdouble

ESLint rules for testdouble.js.

Install and configure

npm install --save-dev eslint-plugin-testdouble

Then add a reference to this plugin and selected rules in your eslint config:

{
  "plugins": [
    "testdouble"
  ],
  "env": {
    "testdouble/testdouble": true
  },
  "rules": {
    "testdouble/object-creation": [ "error", "plain" ]
  }
}

See Configuring Eslint on eslint.org for more info.