diff --git a/ts-react.js b/ts-react.js index e839b70..83de8a4 100644 --- a/ts-react.js +++ b/ts-react.js @@ -24,6 +24,13 @@ module.exports = { 'error', { props: 'never', children: 'never', propElementValues: 'always' } ], + 'react/self-closing-comp': [ + 'error', + { + component: true, + html: true, + }, + ], 'react-hooks/rules-of-hooks': 'error', 'react-hooks/exhaustive-deps': 'error', 'tailwindcss/classnames-order': 'off',