mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
add mocha globals to eslint config
This commit is contained in:
parent
f5f83854eb
commit
37e0703aff
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,11 @@
|
|||
"env": {
|
||||
"node": true
|
||||
},
|
||||
"globals": {
|
||||
"expect": true,
|
||||
"define": true,
|
||||
"it": true
|
||||
},
|
||||
"rules": {
|
||||
// Add some mocha specific rules
|
||||
"mocha/handle-done-callback": "error",
|
||||
|
|
Loading…
Reference in a new issue