Prevent eslint from passing with exclusive tests (#133)

This commit is contained in:
enahum 2016-12-13 12:57:57 -03:00 committed by GitHub
parent 5cc43d5a9f
commit 228b1be76f
2 changed files with 5 additions and 2 deletions

View file

@ -11,7 +11,8 @@
},
"parser": "babel-eslint",
"plugins": [
"react"
"react",
"mocha"
],
"env": {
"browser": true,
@ -254,6 +255,7 @@
"vars-on-top": 0,
"wrap-iife": [2, "outside"],
"wrap-regex": 2,
"yoda": [2, "never", {"exceptRange": false, "onlyEquality": false}]
"yoda": [2, "never", {"exceptRange": false, "onlyEquality": false}],
"mocha/no-exclusive-tests": 2
}
}

View file

@ -27,6 +27,7 @@
"babel-register": "6.16.3",
"deep-freeze": "0.0.1",
"eslint": "3.7.1",
"eslint-plugin-mocha": "4.7.0",
"eslint-plugin-react": "6.3.0",
"fetch-mock": "5.5.0",
"mocha": "3.1.0",