Task Description
Migrate the Heureka application from the legacy juno-typescript.mjs ESLint config (which contains mixed JavaScript/TypeScript rules) to the new vite-react-ts.mjs configuration that provides pure TypeScript
linting rules without JavaScript rule interference.
Goals:
- Switch Heureka's ESLint configuration to use the new
vite-react-ts.mjs config
- Fix all TypeScript linting violations that surface after the migration
- Achieve maximum 5 rule overrides with justification comments
- Eliminate all workaround rule disables that were required with the old config
- Ensure
pnpm lint passes successfully
Sub-tasks
Related Issues
Part of ESLint Configuration Migration Epic #1565
Additional Context
This is one of 7 applications being migrated as part of the project-wide effort to eliminate JavaScript/TypeScript rule conflicts in shared config and enable strict TypeScript checking across all apps.
Migration Approach:
Fix violations category-by-category in order of complexity:
- Easy: unused variables, naming conventions
- Medium: type assertions, explicit any usage
- Hard: unsafe member access, type-unsafe calls
Each category can potentially be handled in separate pull requests if the scope is large.
Acceptance Criteria:
- Heureka uses
vite-react-ts.mjs instead of juno-typescript.mjs
pnpm lint passes with no errors
- Maximum 5 rule overrides with clear justification comments
- All workaround disables from old config are removed
- TypeScript strict checking is enabled without violations
Task Description
Migrate the Heureka application from the legacy
juno-typescript.mjsESLint config (which contains mixed JavaScript/TypeScript rules) to the newvite-react-ts.mjsconfiguration that provides pure TypeScriptlinting rules without JavaScript rule interference.
Goals:
vite-react-ts.mjsconfigpnpm lintpasses successfullySub-tasks
eslint.config.mjsto import and use the newvite-react-ts.mjsconfigurationpnpm lintto identify all violationspnpm lintpasses successfullypnpm typecheckpassesRelated Issues
Part of ESLint Configuration Migration Epic #1565
Additional Context
This is one of 7 applications being migrated as part of the project-wide effort to eliminate JavaScript/TypeScript rule conflicts in shared config and enable strict TypeScript checking across all apps.
Migration Approach:
Fix violations category-by-category in order of complexity:
Each category can potentially be handled in separate pull requests if the scope is large.
Acceptance Criteria:
vite-react-ts.mjsinstead ofjuno-typescript.mjspnpm lintpasses with no errors