chore(styles): 调整格式化配置文件
- 修改prettier.config.mjs: 标签换行 - 修改eslint.config.mjs: 允许自闭合标签(如<br />)
This commit is contained in:
@ -3,4 +3,13 @@ import withNuxt from './.nuxt/eslint.config.mjs'
|
||||
|
||||
export default withNuxt(
|
||||
// Your custom configs here
|
||||
{
|
||||
rules: {
|
||||
"vue/html-self-closing": ["warn", {
|
||||
"html": {
|
||||
"void": "any",
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user