chore: add jsx-no-useless-fragment rule
This commit is contained in:
parent
4437974e08
commit
b4f745599b
1 changed files with 1 additions and 0 deletions
|
@ -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'],
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue