Skip to content

Commit

Permalink
feat(eslint): update configuration for react/jsx-no-useless-fragment
Browse files Browse the repository at this point in the history
Resolves #24
  • Loading branch information
mrmckeb committed Sep 21, 2022
1 parent 911ec00 commit d1f08d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eslint/rules/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module.exports = {
*
* 🔧 Fixable - https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-no-useless-fragment.md
*/
'react/jsx-no-useless-fragment': 'warn',
'react/jsx-no-useless-fragment': ['warn', { allowExpressions: true }],
/**
* Require the use of PascalCase for user-defined JSX components.
*
Expand Down

0 comments on commit d1f08d3

Please sign in to comment.