chore: add jsx-no-useless-fragment rule

This commit is contained in:
Yasin Silavi 2023-10-23 22:35:52 +03:30 committed by Bill Thornton
parent 4437974e08
commit b4f745599b

View file

@ -90,6 +90,7 @@ module.exports = {
'react/jsx-filename-extension': ['error', { 'extensions': ['.jsx', '.tsx'] }], 'react/jsx-filename-extension': ['error', { 'extensions': ['.jsx', '.tsx'] }],
'react/jsx-no-bind': ['error'], 'react/jsx-no-bind': ['error'],
'react/jsx-no-useless-fragment': ['error'],
'react/jsx-no-constructed-context-values': ['error'], 'react/jsx-no-constructed-context-values': ['error'],
'react/no-array-index-key': ['error'], 'react/no-array-index-key': ['error'],