Skip to content

Commit 05732c7

Browse files
committed
fix(react): turn off 'react/jsx-one-expression-per-line'
1 parent 369bfa7 commit 05732c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ module.exports = {
467467

468468
// One JSX Element Per Line
469469
// https://github.com/jsx-eslint/eslint-plugin-react/blob/843d71a432baf0f01f598d7cf1eea75ad6896e4b/docs/rules/jsx-one-expression-per-line.md
470-
'react/jsx-one-expression-per-line': [ 'error', { allow: 'single-child' } ],
470+
'react/jsx-one-expression-per-line': 'off',
471471

472472
// Enforce consistent usage of destructuring assignment of props, state, and context
473473
// https://github.com/jsx-eslint/eslint-plugin-react/blob/843d71a432baf0f01f598d7cf1eea75ad6896e4b/docs/rules/destructuring-assignment.md

0 commit comments

Comments
 (0)