File tree 1 file changed +4
-2
lines changed
packages/eslint-config-airbnb/rules 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -413,11 +413,13 @@ module.exports = {
413
413
414
414
// One JSX Element Per Line
415
415
// https://github.com/yannickcr/eslint-plugin-react/blob/843d71a432baf0f01f598d7cf1eea75ad6896e4b/docs/rules/jsx-one-expression-per-line.md
416
- 'react/jsx-one-expression-per-line' : 'error' ,
416
+ // TODO: re-enable when an option for text children is available
417
+ 'react/jsx-one-expression-per-line' : 'off' ,
417
418
418
419
// Enforce consistent usage of destructuring assignment of props, state, and context
419
420
// https://github.com/yannickcr/eslint-plugin-react/blob/843d71a432baf0f01f598d7cf1eea75ad6896e4b/docs/rules/destructuring-assignment.md
420
- 'react/destructuring-assignment' : [ 'error' , 'always' ] ,
421
+ // TODO: re-enable when component detection is fixed
422
+ 'react/destructuring-assignment' : [ 'off' , 'always' ] ,
421
423
422
424
// Prevent using this.state within a this.setState
423
425
// https://github.com/yannickcr/eslint-plugin-react/blob/843d71a432baf0f01f598d7cf1eea75ad6896e4b/docs/rules/no-access-state-in-setstate.md
You can’t perform that action at this time.
0 commit comments