chore(eslint): add react/self-closing-comp (#2563)
This commit is contained in:
@@ -45,8 +45,10 @@ module.exports = {
|
||||
overrides: [
|
||||
{
|
||||
files: ['**/*.tsx'],
|
||||
plugins: ['react'],
|
||||
rules: {
|
||||
'react/prop-types': 'off',
|
||||
'react/self-closing-comp': 'error',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user