-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
52 lines (52 loc) · 898 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"env": {
"node": true,
"mocha": true
},
"extends": [
"standard"
],
"plugins": [
"standard",
"mocha",
"chai-friendly",
"html"
],
"rules": {
"indent": [
"warn",
4
],
"arrow-parens": 1,
"new-cap": [
2,
{
"newIsCap": true,
"capIsNew": true,
"newIsCapExceptions": [],
"capIsNewExceptions": []
}
]
},
"overrides": [
{
"files": [
"src/**/tests/*.test.js"
],
"rules": {
"mocha/handle-done-callback": 2,
"mocha/no-identical-title": 2,
"mocha/no-exclusive-tests": 2,
"mocha/no-skipped-tests": 2,
"no-unused-expressions": 0,
"chai-friendly/no-unused-expressions": 2,
"no-new": 0
}
}
],
"globals": {}
}