Files
g-butandClaude Opus 4.5 2e39380356 feat: add strict ESLint config and fix all lint issues
- Add .eslintrc.json with strict TypeScript and React rules
- Fix all unused imports and variables (prefix with _ or remove)
- Replace all `any` types with `unknown` or specific types
- Fix React hooks rule violations (conditional hooks, deps)
- Change console.log to console.info per project standards
- Add eslint-disable comments for legitimate img element uses
- Fix anonymous default exports
- Update package.json with ESLint 8 and proper lint scripts

Lint: 0 warnings, 0 errors
Build: passes successfully

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 16:47:56 +01:00

8 lines
191 B
TypeScript

import type { LinkProps as _LinkProps } from 'next/link';
declare module 'next/link' {
interface LinkProps {
href: string | { pathname: string; query?: Record<string, string> };
}
}