forked from kadiwa4/bingo-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
73 lines (70 loc) · 2.47 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"env": {
"es2020": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
"impliedStrict": true
},
"ecmaVersion": 11,
"sourceType": "module"
},
"rules": {
"consistent-return": "error",
"curly": [ "error", "multi-line" ],
"dot-location": [ "error", "property" ],
"eqeqeq": [ "error", "always", { "null": "ignore" } ],
"no-empty-pattern": "off",
"no-fallthrough": "off",
"no-floating-decimal": "error",
"no-else-return": [ "error", { "allowElseIf": false } ],
"no-labels": [ "error", { "allowLoop": false, "allowSwitch": false } ],
"no-return-await": "error",
"no-throw-literal": "error",
"yoda": "error",
"no-unused-vars": "off",
"array-bracket-newline": "error",
"array-bracket-spacing": [ "error", "always" ],
"array-element-newline": [ "error", "consistent" ],
"brace-style": "error",
"comma-dangle": [ "error", { "arrays": "always-multiline", "objects": "always-multiline", "imports": "always-multiline", "exports": "always-multiline", "functions": "ignore" } ],
"comma-spacing": "error",
"comma-style": "error",
"computed-property-spacing": "error",
"eol-last": [ "error", "always" ],
"func-call-spacing": "error",
"function-call-argument-newline": [ "error", "consistent" ],
"function-paren-newline": "error",
"indent": [ "error", "tab", { "SwitchCase": 1 } ],
"key-spacing": "error",
"linebreak-style": [ "error", "unix" ],
"new-parens": "error",
"no-multiple-empty-lines": [ "error", { "max": 1 } ],
"no-plusplus": "error",
"no-trailing-spaces": "error",
"no-unneeded-ternary": [ "error", { "defaultAssignment": false } ],
"no-whitespace-before-property": "error",
"object-curly-newline": [ "error" ],
"object-curly-spacing": [ "error", "always" ],
"object-property-newline": [ "error", { "allowAllPropertiesOnSameLine": true } ],
"operator-linebreak": [ "error", "before" ],
"padded-blocks": [ "error", "never" ],
"quotes": "error",
"semi": "error",
"semi-spacing": "error",
"semi-style": "error",
"space-before-blocks": "error",
"space-before-function-paren": [ "error", { "anonymous": "always", "named": "never", "asyncArrow": "always" } ],
"space-in-parens": "error",
"space-infix-ops": "error",
"switch-colon-spacing": "error",
"arrow-parens": "error",
"arrow-spacing": "error",
"generator-star-spacing": [ "error", { "before": false, "after": true } ],
"no-var": "error",
"template-curly-spacing": "error",
"yield-star-spacing": "error"
}
}