接口调试

This commit is contained in:
2025-12-30 01:25:08 -08:00
parent 11c05de565
commit de6dfb5e20
15 changed files with 468 additions and 85 deletions
+15
View File
@@ -18,6 +18,21 @@ export default defineConfigWithVueTs(
...pluginVue.configs['flat/essential'],
vueTsConfigs.recommended,
{
rules: {
// 1. 强制 Vue 文件内标签块的顺序
'vue/block-order': [
'error',
{
order: ['template', 'script', 'style'],
},
],
// 2. 自动关闭单单词组件名检查(根据需要可选)
'vue/multi-word-component-names': 'off',
// 3. 可以在这里添加更多 TypeScript 或 Vue 的自定义校验
'@typescript-eslint/no-explicit-any': 'warn',
},
},
skipFormatting,
)