feat: enhance project configuration and add new features

This commit is contained in:
严浩
2025-09-09 18:19:23 +08:00
parent 88483c26e6
commit 4851b83c37
28 changed files with 4323 additions and 37 deletions

View File

@@ -33,4 +33,23 @@ export default defineConfigWithVueTs(
},
...pluginOxlint.configs['flat/recommended'],
skipFormatting,
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'vue/block-order': [
'error',
{
order: ['script', 'template', 'style'],
},
],
'vue/define-macros-order': [
'error',
{
order: ['defineOptions', 'defineProps', 'defineEmits', 'defineSlots'],
},
],
'vue/multi-word-component-names': 'off',
},
},
)