forked from postmanlabs/postman-code-generators
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
30 lines (30 loc) · 819 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"plugins": [
"mocha"
],
"env": {
"mocha": true,
"node": true,
"es6": true
},
"rules": {
// Mocha
"mocha/handle-done-callback": "error",
"mocha/max-top-level-suites": "error",
"mocha/no-exclusive-tests": "error",
"mocha/no-global-tests": "error",
"mocha/no-hooks-for-single-case": "off",
"mocha/no-hooks": "off",
"mocha/no-identical-title": "error",
"mocha/no-mocha-arrows": "error",
"mocha/no-nested-tests": "error",
"mocha/no-pending-tests": "error",
"mocha/no-return-and-callback": "error",
"mocha/no-sibling-hooks": "error",
"mocha/no-skipped-tests": "warn",
"mocha/no-synchronous-tests": "off",
"mocha/no-top-level-hooks": "warn",
"mocha/valid-test-description": "off",
"mocha/valid-suite-description": "off"
}
}