-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc.json
52 lines (52 loc) · 1.26 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
50
51
52
{
"env": {
"node": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"unicorn"
],
"rules": {
"unicorn/import-style": [
"error",
{
"styles": {
"util": false
}
}
],
"unicorn/no-static-only-class": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-nested-ternary": "off",
"unicorn/prefer-switch": "off",
"unicorn/filename-case": "off",
"unicorn/prefer-module": "off",
"no-async-promise-executor": "off",
"no-prototype-builtins": "off",
"object-curly-spacing": ["error", "always"],
"no-negated-condition": "off",
"no-array-constructor": "off",
"no-implicit-coercion": "off",
"no-unneeded-ternary": "off",
"no-mixed-operators": "off",
"arrow-body-style": "off",
"no-return-assign": "off",
"no-else-return": "off",
"no-new-object": "off",
"comma-dangle": ["error", "never"],
"no-console": "off",
"complexity": "off",
"camelcase": ["error", {"properties": "never"}],
"one-var": "off",
"no-var": "error",
"indent": ["error", 2],
"quotes": ["error", "single"],
"curly": "off",
"semi": ["error", "always"]
}
}