11{
22 "parser": "babel-eslint",
3-
43 "ecmaFeatures": {
54 "jsx": true
65 },
7-
86 "env": {
97 "es6": true,
108 "jasmine": true,
11- "node": 1 ,
9+ "node": true ,
1210 },
13-
1411 "plugins": [
1512 "react"
1613 ],
17-
1814 "globals": {
1915 "__DEV__": true,
2016 "__dirname": false,
4642 "pit": false,
4743 "FormData": true,
4844 },
49-
5045 "rules": {
5146 "comma-dangle": 0,
5247 "no-cond-assign": 1,
7368 "use-isnan": 1,
7469 "valid-jsdoc": 0,
7570 "valid-typeof": 1,
76-
7771 "block-scoped-var": 0,
7872 "complexity": 0,
7973 "consistent-return": 0,
116110 "no-warning-comments": 0,
117111 "no-with": 1,
118112 "radix": 1,
119- "semi-spacing": 1,
120113 "vars-on-top": 0,
121114 "wrap-iife": 0,
122115 "yoda": 1,
123-
124116 "strict": 0,
125-
126117 "no-catch-shadow": 1,
127118 "no-delete-var": 1,
128119 "no-label-var": 1,
131122 "no-undef": 2,
132123 "no-undefined": 0,
133124 "no-undef-init": 1,
134- "no-unused-vars": [1, {"vars": "all", "args": "none"}],
125+ "no-unused-vars": [
126+ 1,
127+ {
128+ "vars": "all",
129+ "args": "none"
130+ }
131+ ],
135132 "no-use-before-define": 0,
136133 "handle-callback-err": 1,
137134 "no-mixed-requires": 1,
140137 "no-process-exit": 0,
141138 "no-restricted-modules": 1,
142139 "no-sync": 0,
143-
144140 "key-spacing": 0,
145141 "comma-spacing": 0,
146142 "no-multi-spaces": 0,
147143 "brace-style": 0,
148144 "camelcase": 0,
149- "consistent-this": [1, "self"],
145+ "consistent-this": [
146+ 1,
147+ "self"
148+ ],
150149 "eol-last": 1,
151150 "func-names": 0,
152151 "func-style": 0,
157156 "no-lonely-if": 0,
158157 "no-new-object": 1,
159158 "no-spaced-func": 1,
159+ "semi-spacing": 1,
160160 "no-ternary": 0,
161161 "no-trailing-spaces": 1,
162162 "no-underscore-dangle": 0,
163163 "no-mixed-spaces-and-tabs": 1,
164- "quotes": [1, "single", "avoid-escape"],
164+ "quotes": [
165+ 1,
166+ "single",
167+ "avoid-escape"
168+ ],
165169 "quote-props": 0,
166170 "semi": 0,
167171 "sort-vars": 0,
170174 "space-in-parens": 0,
171175 "space-infix-ops": 1,
172176 "space-return-throw-case": 1,
173- "space-unary-ops": [1, { "words": true, "nonwords": false }],
177+ "space-unary-ops": [
178+ 1,
179+ {
180+ "words": true,
181+ "nonwords": false
182+ }
183+ ],
174184 "max-nested-callbacks": 0,
175185 "one-var": 0,
176186 "wrap-regex": 0,
177-
178187 "max-depth": 0,
179188 "max-len": 0,
180189 "max-params": 0,
181190 "max-statements": 0,
182191 "no-bitwise": 1,
183192 "no-plusplus": 0,
184-
185193 "react/display-name": 0,
186194 "react/jsx-boolean-value": 0,
187- "react/jsx-quotes": [1, "single", "avoid-escape"],
195+ "react/jsx-quotes": [
196+ 1,
197+ "single",
198+ "avoid-escape"
199+ ],
188200 "react/jsx-no-undef": 1,
189201 "react/jsx-sort-props": 0,
190202 "react/jsx-uses-react": 0,
191203 "react/jsx-uses-vars": 1,
192- "react/no-did-mount-set-state": [1, "allow-in-func"],
193- "react/no-did-update-set-state": [1, "allow-in-func"],
204+ "react/no-did-mount-set-state": [
205+ 1,
206+ "allow-in-func"
207+ ],
208+ "react/no-did-update-set-state": [
209+ 1,
210+ "allow-in-func"
211+ ],
194212 "react/no-multi-comp": 0,
195213 "react/no-unknown-property": 0,
196214 "react/prop-types": 0,
197215 "react/react-in-jsx-scope": 0,
198216 "react/self-closing-comp": 1,
199217 "react/wrap-multilines": 0
200218 }
201- }
219+ }
0 commit comments