What
Configure additional ESLint rules that enforce consistent patterns: prop-types ordering, hook dependency arrays, and import organization.
Why
Inconsistent code patterns increase cognitive load during reviews and make the codebase harder to navigate. Linting automates style enforcement.
Scope
In: Import ordering rules, hook dependency checks, prop ordering, consistent return types
Out: Custom ESLint rules, formatting rules (handled by Prettier)
Acceptance Criteria
Technical Context
- Update .eslintrc.json with additional rules
- Add eslint-plugin-import for import ordering
- Run eslint --fix for existing code
What
Configure additional ESLint rules that enforce consistent patterns: prop-types ordering, hook dependency arrays, and import organization.
Why
Inconsistent code patterns increase cognitive load during reviews and make the codebase harder to navigate. Linting automates style enforcement.
Scope
In: Import ordering rules, hook dependency checks, prop ordering, consistent return types
Out: Custom ESLint rules, formatting rules (handled by Prettier)
Acceptance Criteria
Technical Context