Enables react/self-closing-comp lint rule
parent
dbca46d677
commit
578c3d64ef
|
@ -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: [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue