Skip to content

Commit

Permalink
configured vue/html-self-closing to not have a formatting differenc…
Browse files Browse the repository at this point in the history
…e between eslint and prettier on this one
  • Loading branch information
CommanderStorm committed Jun 18, 2024
1 parent c31a3e0 commit 2e9e66e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions webclient/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ export default withNuxt(
},
},
rules: {
"vue/html-self-closing": [
"error",
{
html: {
void: "always",
normal: "always",
component: "always",
},
svg: "always",
math: "always",
},
],
"vue/no-multiple-template-root": "off",
"vue/no-v-html": "off",
"vue/block-lang": [
Expand Down

0 comments on commit 2e9e66e

Please sign in to comment.