ESLint rules for Sinon.JS.
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.