Add separate .eslintrc for tests
This commit is contained in:
parent
ddf2a6a116
commit
20d7ef6c0b
2 changed files with 19 additions and 1 deletions
|
@ -8,7 +8,6 @@
|
|||
"Zotero": false,
|
||||
"ZOTERO_CONFIG": false,
|
||||
"AddonManager": false,
|
||||
"assert": false,
|
||||
"Cc": false,
|
||||
"Ci": false,
|
||||
"Components": false,
|
||||
|
|
19
test/tests/.eslintrc
Normal file
19
test/tests/.eslintrc
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true,
|
||||
"node": true,
|
||||
"mocha": true
|
||||
},
|
||||
"globals": {
|
||||
"assert": "readonly",
|
||||
"createDataObject": "readonly",
|
||||
"createGroup": "readonly",
|
||||
"createUnsavedDataObject": "readonly",
|
||||
"getPromiseError": "readonly",
|
||||
"getGroup": "readonly",
|
||||
"getTempDirectory": "readonly",
|
||||
"getTestDataDirectory": "readonly",
|
||||
"importFileAttachment": "readonly",
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue