-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (45 loc) · 960 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
{
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"extends": "airbnb-base",
"rules": {
"func-names": "off",
"no-param-reassign": "warn",
"no-restricted-syntax": "off",
"function-paren-newline": "off",
"import/no-dynamic-require": "warn",
"import/prefer-default-export": "off",
"global-require": "warn",
"no-continue": "off",
"no-labels": "off",
"no-label-var": "off",
"no-void": "off"
},
"overrides": [
{
"files": ["src/**/*.test.js", "tests/**/*.test.js"],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"env": {
"mocha": true
},
"plugins": [
"chai-friendly"
],
"rules": {
"no-unused-expressions": 0,
"chai-friendly/no-unused-expressions": 2
}
},
{
"files": ["src/client/*.js"],
"env": {
"browser": true
}
}
]
}