chore: 调整tsconfig和eslint允许any

This commit is contained in:
star
2025-08-13 19:29:35 +08:00
parent b2c8feb48d
commit 48209eab70
2 changed files with 5 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ export default tseslint.config(
{
files: ['**/*.{ts,mts,tsx,vue}'],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'vue/require-default-prop': 'off',
'vue/multi-word-component-names': 'off',
'vue/block-lang': [

View File

@@ -1,4 +1,7 @@
{
"files": [],
"references": [{ "path": "./tsconfig.node.json" }, { "path": "./tsconfig.web.json" }]
"references": [{ "path": "./tsconfig.node.json" }, { "path": "./tsconfig.web.json" }],
"compilerOptions": {
"noImplicitAny": false
}
}