Skip to content

feat: set up code quality tools #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 5, 2025
Merged

feat: set up code quality tools #19

merged 2 commits into from
Jun 5, 2025

Conversation

nullcoder
Copy link
Owner

Summary

  • Configured ESLint with Next.js and TypeScript defaults
  • Added Prettier with Tailwind CSS plugin and integrated with ESLint
  • Set up Husky and lint-staged for automated pre-commit hooks
  • Configured TypeScript path aliases for cleaner imports
  • Created VS Code workspace settings for consistent development experience

Changes

  • ESLint: Extended Next.js core-web-vitals and TypeScript configs with Prettier integration
  • Prettier: Added configuration with sensible defaults and Tailwind CSS class sorting
  • Git Hooks: Pre-commit hook runs ESLint and Prettier on staged files
  • Path Aliases: Configured @/components, @/lib, @/types, and @/app aliases
  • VS Code: Auto-format on save, ESLint integration, and recommended extensions

Testing

  • Ran npm run lint - no errors
  • Ran npm run typecheck - no errors
  • Ran npm run format - formatted all files successfully
  • Tested pre-commit hook by making this commit
  • All files properly formatted with consistent style

Closes #7

🤖 Generated with Claude Code

- Configured ESLint with Next.js and TypeScript defaults
- Added Prettier with Tailwind CSS plugin
- Set up Husky and lint-staged for pre-commit hooks
- Configured path aliases in tsconfig.json (@/components, @/lib, etc.)
- Created VS Code workspace settings for auto-formatting
- Added VS Code extensions recommendations
- All files formatted with Prettier

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@nullcoder nullcoder added enhancement New feature or request chore Maintenance tasks labels Jun 5, 2025
@nullcoder nullcoder self-assigned this Jun 5, 2025
@nullcoder nullcoder merged commit 101171d into main Jun 5, 2025
@nullcoder nullcoder deleted the feat/code-quality-tools branch June 5, 2025 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance tasks enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set up code quality tools
1 participant