-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
127 lines (127 loc) · 4.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"root": true,
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
],
"env": {
"node": true,
"es6": true
},
"rules": {
"no-undef": "error",
"space-before-function-paren": [ "error", { "anonymous": "ignore", "named": "never" } ],
"no-empty": [ "error", { "allowEmptyCatch": true } ],
"space-in-parens": "error",
"space-unary-ops": "error",
"comma-dangle": "error",
"brace-style": [ "error", "1tbs", { "allowSingleLine": true } ],
"no-multi-str": "error",
"key-spacing": "error",
"space-infix-ops": "error",
"keyword-spacing": "error",
"space-before-blocks": "error",
"wrap-iife": "error",
"array-bracket-spacing": [ "error", "always" ],
"comma-style": "error",
"eol-last": "error",
"camelcase": "error",
"semi": "error",
"indent": [ "error", 4, { "MemberExpression": 0 } ],
"quotes": "error",
"prefer-const": "error",
"no-ex-assign": "error",
"no-extra-boolean-cast": "error",
"no-extra-semi": "error",
"no-obj-calls": "error",
"no-sparse-arrays": "error",
"no-template-curly-in-string": "error",
"no-unexpected-multiline": "error",
"no-unsafe-finally": "error",
"no-unreachable": "error",
"no-unsafe-negation": "error",
"use-isnan": "error",
"valid-jsdoc": "error",
"valid-typeof": "error",
"curly": "error",
"dot-notation": "error",
"eqeqeq": "error",
"no-else-return": "error",
"no-eq-null": "error",
"no-eval": "error",
"no-extend-native": "error",
"no-global-assign": "error",
"no-implied-eval": "error",
"no-iterator": "error",
"no-lone-blocks": "error",
"no-multi-spaces": "error",
"no-new-wrappers": "error",
"no-new-func": "error",
"no-proto": "error",
"no-redeclare": "error",
"no-self-assign": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-throw-literal": "error",
"no-unmodified-loop-condition": "error",
"no-useless-call": "error",
"no-useless-concat": "error",
"no-void": "error",
"no-with": "error",
"radix": "error",
"yoda": "error",
"no-delete-var": "error",
"no-undef-init": "error",
"no-undefined": "error",
"no-unused-vars": "error",
"no-use-before-define": "error",
"block-spacing": "error",
"comma-spacing": "error",
"func-call-spacing": "error",
"jsx-quotes": "error",
"linebreak-style": "error",
"lines-around-directive": "error",
"new-cap": "error",
"new-parens": "error",
"newline-before-return": "error",
"no-array-constructor": "error",
"no-lonely-if": "error",
"no-mixed-spaces-and-tabs": "error",
"no-mixed-operators": "error",
"no-multiple-empty-lines": "error",
"no-new-object": "error",
"no-tabs": "error",
"no-trailing-spaces": "error",
"no-unneeded-ternary": "error",
"no-whitespace-before-property": "error",
"object-curly-spacing": [ "error", "always" ],
"one-var-declaration-per-line": "error",
"operator-linebreak": "error",
"padded-blocks": [ "error", "never" ],
"semi-spacing": "error",
"spaced-comment": "error",
"arrow-parens": "error",
"arrow-spacing": "error",
"constructor-super": "error",
"generator-star-spacing": [ "error", { "before": false, "after": true } ],
"no-class-assign": "error",
"no-const-assign": "error",
"no-dupe-class-members": "error",
"no-duplicate-imports": "error",
"no-new-symbol": "error",
"no-this-before-super": "error",
"no-useless-rename": "error",
"no-var": "error",
"prefer-arrow-callback": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"prefer-template": "error",
"template-curly-spacing": "error"
}
}