eslint-plugin-sinon

0.2.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-plugin-sinon

Weekly Downloads

17

Version

0.2.0

License

MIT

Last publish

Collaborators

  • nishp1