We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
react/jsx-curly-newline
1 parent a23f93e commit 25075b5Copy full SHA for 25075b5
packages/eslint-config-airbnb/rules/react.js
@@ -474,10 +474,9 @@ module.exports = {
474
475
// Enforce linebreaks in curly braces in JSX attributes and expressions.
476
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-curly-newline.md
477
- // TODO: enable, semver-minor
478
- 'react/jsx-curly-newline': ['off', {
+ 'react/jsx-curly-newline': ['error', {
479
multiline: 'consistent',
480
- single: 'consistent',
+ singleline: 'consistent',
481
}],
482
483
// Enforce state initialization style
0 commit comments