chore: update ESLint and TypeScript configurations to disable no-explicit-any and noImplicitAny rules

This commit is contained in:
xudan 2025-09-04 17:22:50 +08:00
parent 4dfb38be60
commit e44b53f5c0
2 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ export default [
semi: ['error', 'always'],
'max-len': ['warn', { code: 120, ignoreComments: true, ignoreUrls: true, ignoreTemplateLiterals: true }],
'max-lines': ['warn', { max: 2000, skipBlankLines: true, skipComments: true }],
'@typescript-eslint/no-explicit-any': 'off',
},
},
];

View File

@ -5,6 +5,7 @@
/* Linting */
"strict": true,
"noImplicitAny": false,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,