Skip to content

Commit c488664

Browse files
authored
Merge pull request #305 from AIToolsLab/fix-linter
Fix frontend lint errors
2 parents 7288ef5 + 6d62bfa commit c488664

File tree

9 files changed

+765
-405
lines changed

9 files changed

+765
-405
lines changed

frontend/eslint.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ export default [
127127
'@typescript-eslint/no-explicit-any': 'off', // Temporarily allow explicit any
128128
'@typescript-eslint/no-unsafe-member-access': 'off',
129129
'@typescript-eslint/no-unsafe-assignment': 'off',
130-
'@typescript-eslint/no-unsafe-return': 'warn',
131-
130+
'@typescript-eslint/no-unsafe-return': 'error',
131+
'@typescript-eslint/no-unsafe-call': 'error',
132+
'@typescript-eslint/no-unsafe-argument': 'error',
133+
132134
'no-constant-binary-expression': 'warn',
133135

134136
// React rules (React 17+ JSX transform)

0 commit comments

Comments
 (0)