Enables react/self-closing-comp lint rule

This commit is contained in:
zomars
2022-07-12 16:31:09 -06:00
parent dbca46d677
commit 578c3d64ef
+1
View File
@@ -17,6 +17,7 @@ module.exports = {
"@next/next/no-html-link-for-pages": "off",
"jsx-a11y/role-supports-aria-props": "off", // @see https://github.com/vercel/next.js/issues/27989#issuecomment-897638654
"react/jsx-curly-brace-presence": ["error", { props: "never", children: "never" }],
"react/self-closing-comp": ["error", { component: true, html: true }],
},
overrides: [
{