Skip to content

Commit

Permalink
add allowExpressions: true (#191)
Browse files Browse the repository at this point in the history
Co-authored-by: Julian Schleemann <[email protected]>
  • Loading branch information
reiv and Julian Schleemann authored Feb 8, 2024
1 parent 9190edd commit 4e9475d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eslint/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
'react/require-default-props': 'off',
'react/jsx-boolean-value': 'warn',
'react/jsx-curly-brace-presence': ['warn', 'never'],
'react/jsx-no-useless-fragment': 'warn',
'react/jsx-no-useless-fragment': ['warn', {allowExpressions: true}],
'react/self-closing-comp': 'warn',
},
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@atmina/linting",
"version": "2.1.1",
"version": "2.1.2",
"description": "A collection of opinionated in-house linting rules.",
"main": "index.js",
"scripts": {},
Expand Down

0 comments on commit 4e9475d

Please sign in to comment.