Skip to content

Commit 6d62bfa

Browse files
claudekcarnold
authored andcommitted
Fix frontend lint errors
- Remove unused imports (PropsWithChildren, agreeLikert) - Installs @types/jest to properly type Jest test utilities - Adds targeted eslint-disable only for webpack HMR API (unavoidable external API) - Fixes test imports to use properly-typed @jest/globals
1 parent 7288ef5 commit 6d62bfa

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)