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.
jsx-fragments
1 parent 834d717 commit a71c2d1Copy full SHA for a71c2d1
packages/eslint-config-airbnb/rules/react.js
@@ -460,6 +460,11 @@ module.exports = {
460
// Prevent usage of UNSAFE_ methods
461
// https://github.com/yannickcr/eslint-plugin-react/blob/157cc932be2cfaa56b3f5b45df6f6d4322a2f660/docs/rules/no-unsafe.md
462
'react/no-unsafe': 'off',
463
+
464
+ // Enforce shorthand or standard form for React fragments
465
+ // https://github.com/yannickcr/eslint-plugin-react/blob/bc976b837abeab1dffd90ac6168b746a83fc83cc/docs/rules/jsx-fragments.md
466
+ // TODO: enable, semver-major
467
+ 'react/jsx-fragments': ['off', 'syntax'],
468
},
469
470
settings: {
0 commit comments