|
|
@@ -1,181 +0,0 @@
|
|
1
|
|
-{
|
|
2
|
|
- "ecmaFeatures": {
|
|
3
|
|
- "arrowFunctions": true,
|
|
4
|
|
- "binaryLiterals": true,
|
|
5
|
|
- "blockBindings": true,
|
|
6
|
|
- "classes": true,
|
|
7
|
|
- "defaultParams": true,
|
|
8
|
|
- "destructuring": true,
|
|
9
|
|
- "forOf": true,
|
|
10
|
|
- "generators": true,
|
|
11
|
|
- "globalReturn": true,
|
|
12
|
|
- "jsx": true,
|
|
13
|
|
- "modules": true,
|
|
14
|
|
- "objectLiteralComputedProperties": true,
|
|
15
|
|
- "objectLiteralDuplicatProperties": true,
|
|
16
|
|
- "objectLiteralShorthandMethods": true,
|
|
17
|
|
- "objectLiteralShorthandProperties": true,
|
|
18
|
|
- "octalLiterals": true,
|
|
19
|
|
- "regexUFlag": true,
|
|
20
|
|
- "regexYFlag": true,
|
|
21
|
|
- "restParams": true,
|
|
22
|
|
- "spread": true,
|
|
23
|
|
- "superInFunctions": true,
|
|
24
|
|
- "templateStrings": true,
|
|
25
|
|
- "unicodeCodePointEscapes": true
|
|
26
|
|
- },
|
|
27
|
|
-
|
|
28
|
|
- "env": {
|
|
29
|
|
- "browser": true,
|
|
30
|
|
- "es6": true,
|
|
31
|
|
- "node": true
|
|
32
|
|
- },
|
|
33
|
|
-
|
|
34
|
|
- "plugins": [
|
|
35
|
|
- "react"
|
|
36
|
|
- ],
|
|
37
|
|
-
|
|
38
|
|
- "rules": {
|
|
39
|
|
- "accessor-pairs": 2,
|
|
40
|
|
- "array-bracket-spacing": 2,
|
|
41
|
|
- "arrow-spacing": [2, { "before": true, "after": true }],
|
|
42
|
|
- "block-spacing": [2, "always"],
|
|
43
|
|
- "brace-style": [2, "stroustrup", { "allowSingleLine": true }],
|
|
44
|
|
- "camelcase": [2, { "properties": "always" }],
|
|
45
|
|
- "comma-dangle": 2,
|
|
46
|
|
- "comma-spacing": [2, { "before": false, "after": true }],
|
|
47
|
|
- "comma-style": [2, "last"],
|
|
48
|
|
- "computed-property-spacing": [2, "never"],
|
|
49
|
|
- "consistent-return": 2,
|
|
50
|
|
- "consistent-this": [2, "self"],
|
|
51
|
|
- "curly": [2, "multi-line"],
|
|
52
|
|
- "dot-location": [2, "property"],
|
|
53
|
|
- "eol-last": 2,
|
|
54
|
|
- "eqeqeq": 2,
|
|
55
|
|
- "generator-star-spacing": [2, { "before": false, "after": true }],
|
|
56
|
|
- "handle-callback-err": 2,
|
|
57
|
|
- "indent": [2, 2, { "SwitchCase": 1 }],
|
|
58
|
|
- "jsx-quotes": [2, "prefer-single"],
|
|
59
|
|
- "key-spacing": [2, { "beforeColon": false, "afterColon": true }],
|
|
60
|
|
- "linebreak-style": [2, "unix"],
|
|
61
|
|
- "new-cap": 2,
|
|
62
|
|
- "new-parens": 2,
|
|
63
|
|
- "no-caller": 2,
|
|
64
|
|
- "no-class-assign": 2,
|
|
65
|
|
- "no-cond-assign": 2,
|
|
66
|
|
- "no-const-assign": 2,
|
|
67
|
|
- "no-constant-condition": 2,
|
|
68
|
|
- "no-control-regex": 2,
|
|
69
|
|
- "no-debugger": 2,
|
|
70
|
|
- "no-delete-var": 2,
|
|
71
|
|
- "no-dupe-args": 2,
|
|
72
|
|
- "no-dupe-class-members": 2,
|
|
73
|
|
- "no-dupe-keys": 2,
|
|
74
|
|
- "no-duplicate-case": 2,
|
|
75
|
|
- "no-else-return": 2,
|
|
76
|
|
- "no-empty": 2,
|
|
77
|
|
- "no-empty-character-class": 2,
|
|
78
|
|
- "no-eq-null": 2,
|
|
79
|
|
- "no-eval": 2,
|
|
80
|
|
- "no-ex-assign": 2,
|
|
81
|
|
- "no-extend-native": 2,
|
|
82
|
|
- "no-extra-bind": 2,
|
|
83
|
|
- "no-extra-boolean-cast": 2,
|
|
84
|
|
- "no-extra-semi": 2,
|
|
85
|
|
- "no-floating-decimal": 2,
|
|
86
|
|
- "no-func-assign": 2,
|
|
87
|
|
- "no-implicit-coercion": 2,
|
|
88
|
|
- "no-implied-eval": 2,
|
|
89
|
|
- "no-inner-declarations": 2,
|
|
90
|
|
- "no-invalid-regexp": 2,
|
|
91
|
|
- "no-invalid-this": 2,
|
|
92
|
|
- "no-irregular-whitespace": 2,
|
|
93
|
|
- "no-iterator": 2,
|
|
94
|
|
- "no-labels": 2,
|
|
95
|
|
- "no-lone-blocks": 2,
|
|
96
|
|
- "no-mixed-spaces-and-tabs": 2,
|
|
97
|
|
- "no-multi-spaces": 2,
|
|
98
|
|
- "no-multiple-empty-lines": 2,
|
|
99
|
|
- "no-native-reassign": 2,
|
|
100
|
|
- "no-negated-in-lhs": 2,
|
|
101
|
|
- "no-nested-ternary": 2,
|
|
102
|
|
- "no-new": 2,
|
|
103
|
|
- "no-new-func": 2,
|
|
104
|
|
- "no-new-object": 2,
|
|
105
|
|
- "no-new-wrappers": 2,
|
|
106
|
|
- "no-obj-calls": 2,
|
|
107
|
|
- "no-octal": 2,
|
|
108
|
|
- "no-param-reassign": 2,
|
|
109
|
|
- "no-process-env": 2,
|
|
110
|
|
- "no-proto": 2,
|
|
111
|
|
- "no-redeclare": 2,
|
|
112
|
|
- "no-regex-spaces": 2,
|
|
113
|
|
- "no-script-url": 2,
|
|
114
|
|
- "no-self-compare": 2,
|
|
115
|
|
- "no-sequences": 2,
|
|
116
|
|
- "no-spaced-func": 2,
|
|
117
|
|
- "no-sparse-arrays": 2,
|
|
118
|
|
- "no-this-before-super": 2,
|
|
119
|
|
- "no-throw-literal": 2,
|
|
120
|
|
- "no-trailing-spaces": 2,
|
|
121
|
|
- "no-undefined": 2,
|
|
122
|
|
- "no-underscore-dangle": 2,
|
|
123
|
|
- "no-unexpected-multiline": 2,
|
|
124
|
|
- "no-unneeded-ternary": 2,
|
|
125
|
|
- "no-unreachable": 2,
|
|
126
|
|
- "no-unused-expressions": 2,
|
|
127
|
|
- "no-unused-vars": 2,
|
|
128
|
|
- "no-useless-call": 2,
|
|
129
|
|
- "no-var": 2,
|
|
130
|
|
- "no-void": 2,
|
|
131
|
|
- "no-with": 2,
|
|
132
|
|
- "object-curly-spacing": [2, "always", { "objectsInObjects": true }],
|
|
133
|
|
- "object-shorthand": 2,
|
|
134
|
|
- "operator-linebreak": [2, "after"],
|
|
135
|
|
- "padded-blocks": [2, "never"],
|
|
136
|
|
- "prefer-arrow-callback": 2,
|
|
137
|
|
- "prefer-spread": 2,
|
|
138
|
|
- "prefer-template": 2,
|
|
139
|
|
- "quotes": [2, "single", "avoid-escape"],
|
|
140
|
|
- "radix": 2,
|
|
141
|
|
- "react/display-name": 2,
|
|
142
|
|
- "react/jsx-boolean-value": 2,
|
|
143
|
|
- "react/jsx-closing-bracket-location": 2,
|
|
144
|
|
- "react/jsx-curly-spacing": 2,
|
|
145
|
|
- "react/jsx-indent-props": [2, 2],
|
|
146
|
|
- "react/jsx-max-props-per-line": 2,
|
|
147
|
|
- "react/jsx-no-duplicate-props": 2,
|
|
148
|
|
- "react/jsx-no-undef": 2,
|
|
149
|
|
- "react/jsx-sort-prop-types": 2,
|
|
150
|
|
- "react/jsx-sort-props": 2,
|
|
151
|
|
- "react/jsx-uses-react": 2,
|
|
152
|
|
- "react/jsx-uses-vars": 2,
|
|
153
|
|
- "react/no-danger": 2,
|
|
154
|
|
- "react/no-did-mount-set-state": [2, 'allow-in-func'],
|
|
155
|
|
- "react/no-did-update-set-state": 2,
|
|
156
|
|
- "react/no-direct-mutation-state": 2,
|
|
157
|
|
- "react/no-multi-comp": 2,
|
|
158
|
|
- "react/no-unknown-property": 2,
|
|
159
|
|
- "react/prop-types": 2,
|
|
160
|
|
- "react/react-in-jsx-scope": 2,
|
|
161
|
|
- "react/require-extension": 2,
|
|
162
|
|
- "react/self-closing-comp": 2,
|
|
163
|
|
- "react/sort-comp": 2,
|
|
164
|
|
- "react/wrap-multilines": 2,
|
|
165
|
|
- "require-yield": 2,
|
|
166
|
|
- "semi": 2,
|
|
167
|
|
- "semi-spacing": [2, { "before": false, "after": true }],
|
|
168
|
|
- "space-after-keywords": [2, "always"],
|
|
169
|
|
- "space-before-blocks": [2, "always"],
|
|
170
|
|
- "space-before-function-paren": [2, "never"],
|
|
171
|
|
- "space-in-parens": [2, "never"],
|
|
172
|
|
- "space-infix-ops": 2,
|
|
173
|
|
- "space-return-throw-case": 2,
|
|
174
|
|
- "space-unary-ops": [2, { "words": true, "nonwords": false }],
|
|
175
|
|
- "spaced-comment": 2,
|
|
176
|
|
- "use-isnan": 2,
|
|
177
|
|
- "valid-typeof": 2,
|
|
178
|
|
- "vars-on-top": 2,
|
|
179
|
|
- "wrap-iife": 2
|
|
180
|
|
- }
|
|
181
|
|
-}
|