-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
49 lines (49 loc) · 1.15 KB
/
.eslintrc.json
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins":[
"jsdoc",
"mocha",
"security",
"import"
],
"env": {
"es6": true,
"node": true,
"mocha": true
},
"extends": [
"eslint:recommended",
"jquery",
"plugin:jsdoc/recommended",
"plugin:security/recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"rules":{
"mocha/no-exclusive-tests": "error",
"mocha/max-top-level-suites": "warn",
"mocha/no-global-tests": "error",
"mocha/no-identical-title": "error",
"mocha/no-nested-tests": "error",
"mocha/no-pending-tests": "warn",
"mocha/no-setup-in-describe": "error",
"mocha/no-hooks": "error",
"mocha/no-skipped-tests": "error",
"mocha/no-top-level-hooks": "error",
"mocha/valid-suite-description": ["warn", "^[A-Z]|^#"],
"mocha/valid-test-description": "warn",
"jsdoc/require-description-complete-sentence": "warn",
"max-len": [
"error",
{
"code": 90,
"tabWidth": 2,
"ignoreStrings": true,
"ignoreComments": true
}
]
}
}