-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
33 lines (33 loc) · 712 Bytes
/
.eslintrc
File metadata and controls
33 lines (33 loc) · 712 Bytes
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
{
"extends": "airbnb",
'env': {
'es6': true,
'node': true,
},
"strict": [2, "global"],
'parserOptions': {
'ecmaVersion': 6,
'sourceType': 'module',
},
"globals": {
"$": true,
"window": true,
'document': true,
"__dirname": true,
},
"rules": {
'no-new-func': 1,
'func-names': 0,
'no-new': 0,
'no-param-reassign': [2, { "props": false }],
'yoda': [1, "never", {"exceptRange": true,"onlyEquality": true}],
"no-useless-concat": 0,
"no-implicit-coercion": [2, {
"boolean": true,
"number": true,
"string": true,
"allow": [/* "!!", "~", "*", "+" */],
}],
"semi": [2, "never"]
}
}