-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
71 lines (71 loc) · 2.02 KB
/
.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
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
{
"root": true,
"extends": "eslint:recommended",
"parser": "babel-eslint",
"rules": {
"for-direction": 1,
"no-console": 1,
"curly": 2,
"eqeqeq": 2,
"no-alert": 1,
"no-multi-spaces": 1,
"no-octal-escape": 1,
"no-param-reassign": 1,
"no-proto": 2,
"no-self-compare": 1,
"no-sequences": 1,
"no-unmodified-loop-condition": 1,
"no-label-var": 2,
"no-delete-var": 0,
"no-shadow-restricted-names": 2,
"no-undef": 0,
"array-bracket-spacing": 2,
"block-spacing": [2, "never"],
"brace-style": 2,
"comma-spacing": 2,
"comma-style": 2,
"computed-property-spacing": 2,
"eol-last": 2,
"func-call-spacing": 2,
"func-name-matching": 2,
"indent": 2,
"key-spacing": 2,
"keyword-spacing": 2,
"linebreak-style": 2,
"max-len": 2,
"max-statements-per-line": 1,
"newline-per-chained-call": 1,
"no-bitwise": 1,
"no-lonely-if": 0,
"no-mixed-operators": 1,
"no-multiple-empty-lines": [2, {
"max": 2,
"maxEOF": 1
}],
"no-nested-ternary": 1,
"no-tabs": 2,
"no-trailing-spaces": 2,
"no-whitespace-before-property": 2,
"object-curly-newline": 0,
"object-curly-spacing": [2, "never"],
"object-property-newline": 2,
"operator-linebreak": [2, "before"],
"semi": [2, "never"],
"space-before-blocks": 2,
"space-before-function-paren": [2, "never"],
"space-in-parens": [2, "never"],
"space-infix-ops": 2,
"switch-colon-spacing": 2,
"unicode-bom": 2,
"wrap-regex": 2,
"arrow-parens": 1,
"arrow-spacing": 1,
"no-duplicate-imports": 2,
"no-var": 1,
"prefer-const": 1,
"prefer-numeric-literals": 1,
"prefer-rest-params": 1,
"prefer-spread": 1,
"no-self-assign": 1
}
}