File tree Expand file tree Collapse file tree
packages/eslint-config-airbnb/rules Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -413,11 +413,13 @@ module.exports = {
413413
414414 // One JSX Element Per Line
415415 // 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' ,
417418
418419 // Enforce consistent usage of destructuring assignment of props, state, and context
419420 // 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' ] ,
421423
422424 // Prevent using this.state within a this.setState
423425 // 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