Skip to content

Commit

Permalink
eslint mocha changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelly Selden committed Jul 9, 2018
1 parent c8e588b commit 958cc87
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 14 deletions.
26 changes: 22 additions & 4 deletions .eslintrc.js
Expand Up @@ -4,8 +4,7 @@ module.exports = {
ecmaVersion: 2017
},
plugins: [
'node',
'mocha'
'node'
],
extends: [
'sane',
Expand All @@ -16,6 +15,25 @@ module.exports = {
node: true
},
rules: {
'mocha/no-exclusive-tests': 'error'
}
},
overrides: [
{
files: ['bin/*.js'],
rules: {
'no-console': 'off'
}
},
{
files: ['test/**/*-test.js'],
plugins: [
'mocha'
],
env: {
mocha: true
},
rules: {
'mocha/no-exclusive-tests': 'error'
}
}
]
};
5 changes: 0 additions & 5 deletions bin/.eslintrc.js

This file was deleted.

5 changes: 0 additions & 5 deletions test/.eslintrc.js

This file was deleted.

0 comments on commit 958cc87

Please sign in to comment.