mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 18:51:30 +00: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