[eslint config] add disabled jsx-fragments rule

This commit is contained in:
Jordan Harband
2019-02-17 14:20:53 -08:00
parent 834d717c7b
commit a71c2d1ad3

View File

@@ -460,6 +460,11 @@ module.exports = {
// Prevent usage of UNSAFE_ methods
// https://github.com/yannickcr/eslint-plugin-react/blob/157cc932be2cfaa56b3f5b45df6f6d4322a2f660/docs/rules/no-unsafe.md
'react/no-unsafe': 'off',
// Enforce shorthand or standard form for React fragments
// https://github.com/yannickcr/eslint-plugin-react/blob/bc976b837abeab1dffd90ac6168b746a83fc83cc/docs/rules/jsx-fragments.md
// TODO: enable, semver-major
'react/jsx-fragments': ['off', 'syntax'],
},
settings: {