chore(eslint): add react/self-closing-comp (#2563)

This commit is contained in:
Pierre Spring
2026-02-23 22:58:46 +01:00
committed by GitHub
parent 947f70c3d7
commit cd8b386bf8
16 changed files with 33 additions and 31 deletions

View File

@@ -45,8 +45,10 @@ module.exports = {
overrides: [
{
files: ['**/*.tsx'],
plugins: ['react'],
rules: {
'react/prop-types': 'off',
'react/self-closing-comp': 'error',
},
},
],