@@ -166,7 +166,7 @@ module.exports = {
166
166
"no-path-concat" : 2 ,
167
167
"no-process-env" : 2 ,
168
168
"no-process-exit" : 2 ,
169
- "no-restricted-modules" : 0
169
+ "no-restricted-modules" : 0 ,
170
170
"no-sync" : 2 ,
171
171
172
172
/*
@@ -294,78 +294,80 @@ module.exports = {
294
294
* React Plugin
295
295
*/
296
296
297
+ "react/boolean-prop-naming" : 0 ,
298
+ "react/button-has-type" : 2 ,
299
+ "react/default-props-match-prop-types" : 2 ,
300
+ "react/destructuring-assignment" : 0 ,
297
301
"react/display-name" : [ 2 , { "ignoreTranspilerName" : false } ] ,
298
302
"react/forbid-prop-types" : [ 2 , { "forbid" : [ "any" ] } ] ,
303
+ "react/forbid-foreign-prop-types" : 2 ,
304
+ "react/no-access-state-in-setstate" : 2 ,
305
+ "react/no-array-index-key" : 2 ,
306
+ "react/no-children-prop" : 2 ,
307
+ "react/no-danger" : 2 ,
308
+ "react/no-danger-with-children" : 2 ,
309
+ "react/no-deprecated" : 2 ,
310
+ "react/no-did-mount-set-state" : [ 2 ] ,
311
+ "react/no-did-update-set-state" : [ 2 ] ,
312
+ "react/no-direct-mutation-state" : 2 ,
313
+ "react/no-find-dom-node" : 2 ,
314
+ "react/no-is-mounted" : 2 ,
315
+ "react/no-multi-comp" : [ 2 , { "ignoreStateless" : true } ] ,
316
+ "react/no-redundant-should-component-update" : 2 ,
317
+ "react/no-render-return-value" : 2 ,
318
+ "react/no-set-state" : 0 ,
319
+ "react/no-typos" : 2 ,
320
+ "react/no-string-refs" : 0 ,
321
+ "react/no-this-in-sfc" : 2 ,
322
+ "react/no-unescaped-entities" : 2 ,
323
+ "react/no-unknown-property" : 2 ,
324
+ "react/no-unsafe" : 2 ,
325
+ "react/no-unused-prop-types" : 2 ,
326
+ "react/no-unused-state" : 2 ,
327
+ "react/no-will-update-set-state" : 2 ,
328
+ "react/prefer-es6-class" : 0 ,
329
+ "react/prefer-stateless-function" : 1 ,
330
+ "react/prop-types" : 2 ,
331
+ "react/react-in-jsx-scope" : 2 ,
332
+ "react/require-default-props" : 2 ,
333
+ "react/require-optimization" : 0 ,
334
+ "react/require-render-return" : 2 ,
335
+ "react/self-closing-comp" : 2 ,
336
+ "react/sort-comp" : 2 ,
337
+ "react/sort-prop-types" : 0 ,
338
+ "react/style-prop-object" : 2 ,
339
+ "react/void-dom-elements-no-children" : 2 ,
340
+
299
341
"react/jsx-boolean-value" : [ 2 , "always" ] ,
342
+ "react/jsx-child-element-spacing" : 2 ,
300
343
"react/jsx-closing-bracket-location" : [ 2 , { "selfClosing" : "after-props" , "nonEmpty" : "after-props" } ] ,
344
+ "react/jsx-closing-tag-location" : 2 ,
301
345
"react/jsx-curly-spacing" : [ 2 , "never" ] ,
302
346
"react/jsx-equals-spacing" : [ 2 , "never" ] ,
303
- "react/jsx-filename-extension" : [ 2 , { "extensions" : [ ".jsx" ] } ] ,
347
+ "react/jsx-filename-extension" : [ 2 , { "extensions" : [ ".js" , ". jsx"] } ] ,
304
348
"react/jsx-first-prop-new-line" : 0 ,
305
349
"react/jsx-handler-names" : 2 ,
306
350
"react/jsx-indent" : [ 2 , 2 ] ,
307
351
"react/jsx-indent-props" : [ 2 , 2 ] ,
308
352
"react/jsx-key" : 2 ,
353
+ "react/jsx-max-depth" : 0 ,
309
354
"react/jsx-max-props-per-line" : [ 2 , { "maximum" : 5 } ] ,
310
355
"react/jsx-no-bind" : 2 ,
356
+ "react/jsx-no-comment-textnodes" : 2 ,
311
357
"react/jsx-no-duplicate-props" : 2 ,
312
358
"react/jsx-no-literals" : 0 ,
313
359
"react/jsx-no-target-blank" : 1 ,
314
360
"react/jsx-no-undef" : 2 ,
361
+ "react/jsx-one-expression-per-line" : 2 ,
362
+ "react/jsx-curly-brace-presence" : [ 2 , "never" ] ,
315
363
"react/jsx-pascal-case" : 2 ,
364
+ "react/jsx-props-no-multi-spaces" : 2 ,
365
+ "react/jsx-sort-default-props" : 0 ,
316
366
"react/jsx-sort-props" : 0 ,
317
367
"react/jsx-space-before-closing" : 0 ,
368
+ "react/jsx-tag-spacing" : [ 2 , { "closingSlash" : "never" , "beforeSelfClosing" : "always" , "afterOpening" : "never" , "beforeClosing" : "never" } ] ,
318
369
"react/jsx-uses-react" : 2 ,
319
370
"react/jsx-uses-vars" : 2 ,
320
- "react/no-comment-textnodes" : 2 ,
321
- "react/no-danger" : 2 ,
322
- "react/no-deprecated" : 2 ,
323
- "react/no-did-mount-set-state" : [ 2 ] ,
324
- "react/no-did-update-set-state" : [ 2 ] ,
325
- "react/no-direct-mutation-state" : 2 ,
326
- "react/no-is-mounted" : 2 ,
327
- "react/no-multi-comp" : [ 2 , { "ignoreStateless" : true } ] ,
328
- "react/no-render-return-value" : 2 ,
329
- "react/no-set-state" : 0 ,
330
- "react/no-string-refs" : 0 ,
331
- "react/no-unknown-property" : 2 ,
332
- "react/prefer-es6-class" : 0 ,
333
- "react/prefer-stateless-function" : 1 ,
334
- "react/prop-types" : 2 ,
335
- "react/react-in-jsx-scope" : 2 ,
336
- "react/require-extension" : 0 ,
337
- "react/require-optimization" : 0 ,
338
- "react/require-render-return" : 2 ,
339
- "react/self-closing-comp" : 2 ,
340
- "react/sort-comp" : [ 2 , {
341
- order : [
342
- 'lifecycle' ,
343
- 'everything-else' ,
344
- 'render'
345
- ] ,
346
- groups : {
347
- lifecycle : [
348
- 'displayName' ,
349
- 'propTypes' ,
350
- 'contextTypes' ,
351
- 'childContextTypes' ,
352
- 'mixins' ,
353
- 'statics' ,
354
- 'getDefaultProps' ,
355
- 'getInitialState' ,
356
- 'getStateFromStores' ,
357
- 'getChildContext' ,
358
- 'componentWillMount' ,
359
- 'componentDidMount' ,
360
- 'componentWillReceiveProps' ,
361
- 'shouldComponentUpdate' ,
362
- 'componentWillUpdate' ,
363
- 'componentDidUpdate' ,
364
- 'componentWillUnmount'
365
- ]
366
- }
367
- } ] ,
368
- "react/sort-prop-types" : 0 ,
369
- "react/wrap-multilines" : 2
371
+ "react/jsx-wrap-multilines" : 2
370
372
}
371
373
}
0 commit comments