设置ESLint 的 vue/html-self-closing 自闭合标签警告配置

pull/8722/head
JEECG 2025-08-13 10:26:23 +08:00
parent 0fe258dbc2
commit f46273d15e
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@ module.exports = defineConfig({
{ {
html: { html: {
void: 'always', void: 'always',
normal: 'never', normal: 'any',
component: 'always', component: 'any',
}, },
svg: 'always', svg: 'always',
math: 'always', math: 'always',