Skip to content

Commit e628dd0

Browse files
committed
Add "react/self-closing-comp" to the eslint rules
1 parent 2b96a59 commit e628dd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module.exports = {
1919
rules: {
2020
"prettier/prettier": "error",
2121
"react/prop-types": "off",
22+
"react/self-closing-comp": "error",
2223
"@typescript-eslint/explicit-function-return-type": "off",
2324
"@typescript-eslint/no-explicit-any": "off",
2425
"@typescript-eslint/no-inferrable-types": "off",

0 commit comments

Comments
 (0)