Skip to content

Commit de3850c

Browse files
💄 style: Update react/self-closing-comp
1 parent 9111537 commit de3850c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/eslint/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ export default {
2727
'react/jsx-sort-props': 'error',
2828
'react/prop-types': 0,
2929
'react/react-in-jsx-scope': 0,
30+
'react/self-closing-comp': [
31+
'warn',
32+
{
33+
component: true,
34+
html: true,
35+
},
36+
],
3037
'simple-import-sort/exports': 'error',
3138
'sort-keys-fix/sort-keys-fix': 'error',
3239
'typescript-sort-keys/interface': 'error',

0 commit comments

Comments
 (0)