Skip to content

Conversation

@fx
Copy link
Owner

@fx fx commented Jun 30, 2025

Summary

Changes Made

Prettier Integration

  • Added eslint-config-prettier to prevent ESLint/Prettier conflicts
  • Updated lint command to run both ESLint and Prettier checks
  • Updated lint:fix command to run both ESLint fixes and Prettier formatting
  • Prettier configuration already existed with sensible defaults

Linting Issues Fixed

  1. Type Safety - Replaced all any types with proper TypeScript types
  2. Unused Variables - Removed or prefixed with underscore
  3. React Issues - Fixed unescaped entities and hooks violations
  4. Dependencies - Fixed missing dependencies in React hooks

Testing

  • All linting passes: npm run lint
  • All tests pass: npm test
  • Type checking passes: npm run typecheck
  • CI workflow already includes Prettier via updated lint command

Related

Follows recommendations from PR #33

fx added 2 commits June 30, 2025 04:52
- Add eslint-config-prettier to prevent ESLint/Prettier conflicts
- Update lint commands to include Prettier formatting checks
- Fix all 61 linting issues (44 errors, 17 warnings)
- Prettier already included in CI via updated lint command
…t errors

- Add typecheck (tsc --noEmit) to npm run lint command
- Fix all TypeScript type errors across test files
- Fix all ESLint errors with proper type annotations
- Update CI workflow to only run npm run lint (removes separate typecheck)
- Ensure both type checking and linting pass together
@fx fx merged commit e0584ec into main Jun 30, 2025
2 checks passed
@fx fx deleted the fix/34-linting-prettier-setup branch June 30, 2025 15:40
fx added a commit that referenced this pull request Jul 8, 2025
* fix: integrate prettier and resolve all linting issues

- Add eslint-config-prettier to prevent ESLint/Prettier conflicts
- Update lint commands to include Prettier formatting checks
- Fix all 61 linting issues (44 errors, 17 warnings)
- Prettier already included in CI via updated lint command

* fix: consolidate typecheck into lint command and resolve all type/lint errors

- Add typecheck (tsc --noEmit) to npm run lint command
- Fix all TypeScript type errors across test files
- Fix all ESLint errors with proper type annotations
- Update CI workflow to only run npm run lint (removes separate typecheck)
- Ensure both type checking and linting pass together
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.

2 participants