ESLint rules for testdouble.js.
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.