diff --git a/eslint/react.js b/eslint/react.js index b055c7e..a601fa9 100644 --- a/eslint/react.js +++ b/eslint/react.js @@ -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', }, }; diff --git a/package.json b/package.json index f7c0dce..81f2184 100644 --- a/package.json +++ b/package.json @@ -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": {},