Skip to content

Commit

Permalink
fix(react): turn off 'react/jsx-one-expression-per-line'
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanBerger98 committed Apr 3, 2024
1 parent 369bfa7 commit 05732c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react.js
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ module.exports = {

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

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

0 comments on commit 05732c7

Please sign in to comment.