Skip to content

Commit

Permalink
ESLint: ecmaVersion 6 and disallow mocha exclusive tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneswuerbach committed Jan 8, 2017
1 parent 67cf809 commit 5dbf04d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"env": {
"browser": true,
"mocha": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6
},
"plugins": [
"mocha"
],
"globals": {},
"rules": {
"no-bitwise": 2,
Expand Down Expand Up @@ -40,6 +45,7 @@
2,
"double"
],
"strict": 0
"strict": 0,
"mocha/no-exclusive-tests": "error"
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
},
"devDependencies": {
"colors": "~1.1.2",
"eslint-plugin-mocha": "^4.8.0",
"expect.js": "~0.3.1",
"grunt": "~0.4.1",
"grunt-cli": "~0.1.9",
Expand Down

0 comments on commit 5dbf04d

Please sign in to comment.