add specific eslint config for test cases

This commit is contained in:
Clark Du 2017-03-27 10:46:29 +08:00
parent 51a0f715c3
commit 39e7e56cf1

15
test/.eslintrc.json Normal file
View file

@ -0,0 +1,15 @@
{
"extends": [
"../.eslintrc.json"
],
"globals": {
"expect": true
},
"env": {
"node": true,
"mocha": true
},
"rules": {
"indent": ["error",2, { "SwitchCase": 1 }]
}
}