-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
46 lines (46 loc) · 1.14 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
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jquery": true,
"node": true,
"shared-node-browser": true
},
"extends": ["standard"],
"parserOptions": {
"ecmaVersion": 12
},
"rules": {
"no-extra-semi": "warn",
"semi": "warn",
"no-undef": "off",
"no-unused-vars": "off",
"indent": "off",
"spaced-comment": [
"warn",
"always",
{
"markers": [
"#region",
"#endregion",
"region",
"endregion",
"TODO",
"FIX",
"NEWFEATURE",
"BUG"
]
}
],
"space-before-function-paren": "off",
"no-irregular-whitespace": "warn",
"curly": "warn",
"no-template-curly-in-string": "warn",
"camelcase": "off",
"prefer-const": "off",
"prefer-promise-reject-errors": "off",
"n/handle-callback-err": "off",
"array-callback-return": "off"
}
}