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