Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 483 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 483 Bytes

eslint-plugin-sinon

ESLint rules for Sinon.JS.

Install and configure

This plugin requires ESLint 1.4.1 or later.

npm install --save-dev eslint-plugin-sinon

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

{
  "plugins": [
    "sinon"
  ],
  "rules": {
    "sinon/no-fakes": 2
  }
}

See Configuring Eslint on eslint.org for more info.