mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 07:01:04 +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": {
|
"env": {
|
||||||
"node": true
|
"node": true
|
||||||
},
|
},
|
||||||
|
"globals": {
|
||||||
|
"expect": true,
|
||||||
|
"define": true,
|
||||||
|
"it": true
|
||||||
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
// Add some mocha specific rules
|
// Add some mocha specific rules
|
||||||
"mocha/handle-done-callback": "error",
|
"mocha/handle-done-callback": "error",
|
||||||
|
|
Loading…
Reference in a new issue