chore: 🔨 eslint 配置适配 eslint-plugin-vue 插件 v9 升级 v10 调整
This commit is contained in:
@@ -91,7 +91,7 @@ export default [
|
||||
plugins: { vue: pluginVue, "@typescript-eslint": pluginTypeScript },
|
||||
processor: pluginVue.processors[".vue"],
|
||||
rules: {
|
||||
...pluginVue.configs["vue3-recommended"].rules, // Vue 3 推荐规则
|
||||
...pluginVue.configs.recommended.rules, // Vue 推荐规则
|
||||
"vue/no-v-html": "off", // 允许 v-html
|
||||
"vue/multi-word-component-names": "off", // 允许单个单词组件名
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user