We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
react/jsx-fragments
1 parent b447768 commit a23f93eCopy full SHA for a23f93e
1 file changed
packages/eslint-config-airbnb/rules/react.js
@@ -470,8 +470,7 @@ module.exports = {
470
471
// Enforce shorthand or standard form for React fragments
472
// https://github.com/yannickcr/eslint-plugin-react/blob/bc976b837abeab1dffd90ac6168b746a83fc83cc/docs/rules/jsx-fragments.md
473
- // TODO: enable, semver-major
474
- 'react/jsx-fragments': ['off', 'syntax'],
+ 'react/jsx-fragments': ['error', 'syntax'],
475
476
// Enforce linebreaks in curly braces in JSX attributes and expressions.
477
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-curly-newline.md
0 commit comments