add specific eslint config for test cases
This commit is contained in:
parent
51a0f715c3
commit
39e7e56cf1
1 changed files with 15 additions and 0 deletions
15
test/.eslintrc.json
Normal file
15
test/.eslintrc.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"extends": [
|
||||
"../.eslintrc.json"
|
||||
],
|
||||
"globals": {
|
||||
"expect": true
|
||||
},
|
||||
"env": {
|
||||
"node": true,
|
||||
"mocha": true
|
||||
},
|
||||
"rules": {
|
||||
"indent": ["error",2, { "SwitchCase": 1 }]
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue