Description:
As a developer, I want to resolve existing ESLint errors in the codebase to maintain a clean and consistent code structure, improve readability, and adhere to best practices.
Acceptance Criteria:
All current ESLint errors and warnings are reviewed and resolved, specifically addressing:
Description:
As a developer, I want to resolve existing ESLint errors in the codebase to maintain a clean and consistent code structure, improve readability, and adhere to best practices.
Acceptance Criteria:
@typescript-eslint/no-unused-vars
)no-console
rule)key
prop in lists (react/jsx-key
)<img>
tag instead of<Image />
in Next.js (@next/next/no-img-element
)react/no-unescaped-entities
)console.log
statements and unused variables in tests).Tasks:
console.log
statements with a custom logging utility.key
props to all elements in iterators.<img>
tags with Next.js<Image />
component..eslintrc.json
to handle testing-specific rule exceptions.npm run lint -- --fix
to auto-fix where possible and verify changes.Project: RATTM Roadmap
Priority: High