Skip to content

Add ESLint, Prettier, and pre-commit checks - #13

Merged
dpuscher merged 3 commits into
stagingfrom
add-eslint-prettier
Feb 24, 2026
Merged

Add ESLint, Prettier, and pre-commit checks#13
dpuscher merged 3 commits into
stagingfrom
add-eslint-prettier

Conversation

@dpuscher

@dpuscher dpuscher commented Feb 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add ESLint with Next.js, TypeScript, jsx-a11y, and import plugin configs
  • Add Prettier for code formatting
  • Add Husky pre-commit hooks with lint-staged
  • Fix all ESLint errors (unused vars, missing alt props, media captions, import/named issues)
  • Run Prettier across the codebase

Test plan

  • Run yarn lint and verify 0 errors
  • Run yarn format:check and verify no formatting issues
  • Make a commit and verify pre-commit hooks run successfully

- Remove unused catch bindings (e, error) using optional catch syntax
- Split ConnectedProps into `import type` to fix import/named rule
- Add eslint-disable block for intentional autoFocus in QueryRelease
- Move media-has-caption disable comment inside Camera to target video element
- Rename Image styled component to Avatar to avoid jsx-a11y/alt-text collision with Next.js Image
@dpuscher
dpuscher force-pushed the add-eslint-prettier branch from 4e58a0d to f412aac Compare February 24, 2026 00:23
@dpuscher
dpuscher merged commit 05efd05 into staging Feb 24, 2026
@github-actions github-actions Bot mentioned this pull request Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant