style: 格式化项目代码
- 根据prettier配置格式化整个项目的代码
This commit is contained in:
@ -1,15 +1,18 @@
|
||||
// @ts-check
|
||||
import withNuxt from './.nuxt/eslint.config.mjs'
|
||||
import withNuxt from './.nuxt/eslint.config.mjs';
|
||||
|
||||
export default withNuxt(
|
||||
// Your custom configs here
|
||||
{
|
||||
rules: {
|
||||
"vue/html-self-closing": ["warn", {
|
||||
"html": {
|
||||
"void": "any",
|
||||
}
|
||||
}]
|
||||
}
|
||||
'vue/html-self-closing': [
|
||||
'warn',
|
||||
{
|
||||
html: {
|
||||
void: 'any',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user