Enables react/self-closing-comp lint rule

pull/3347/head
zomars 2022-07-12 14:57:49 -06:00
parent dbca46d677
commit 578c3d64ef
1 changed files with 1 additions and 0 deletions

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: [
{