Skip to content

Switch from ESLint to Biome for linting and styling#6

Merged
mahata merged 6 commits intomainfrom
copilot/fix-5
Jul 8, 2025
Merged

Switch from ESLint to Biome for linting and styling#6
mahata merged 6 commits intomainfrom
copilot/fix-5

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jul 8, 2025

This PR migrates the project from ESLint to Biome as the primary tool for linting and code style enforcement, providing a faster and more comprehensive development experience.

Changes Made

🔄 Migration Process

  • Automated migration: Used Biome's built-in ESLint migration tool to preserve existing code quality standards
  • Rule coverage: Successfully migrated 78% (69/88) of ESLint rules to Biome equivalents
  • Configuration: Created biome.json with TypeScript support and project-specific formatting preferences

📦 Dependencies

  • Added: @biomejs/biome as dev dependency
  • Removed: All ESLint-related dependencies:
    • @eslint/js
    • @types/eslint
    • eslint
    • globals
    • typescript-eslint

📝 Scripts & Configuration

  • Updated package.json scripts:
    • lint: Now runs biome check .
    • lint:fix: Now runs biome check --write .
  • Removed: eslint.config.js
  • Added: biome.json with comprehensive TypeScript linting and formatting rules

📖 Documentation

  • Updated README.md to reference Biome instead of ESLint
  • Updated project structure documentation
  • Updated technology stack description

Benefits

  • Performance: Biome is significantly faster than ESLint for large codebases
  • Unified tooling: Combines linting, formatting, and import sorting in one tool
  • Better TypeScript support: Native TypeScript support without additional plugins
  • Consistent formatting: Enforces consistent code style across the project

Testing

All existing functionality remains intact:

  • ✅ Build process (pnpm build)
  • ✅ Test suite (pnpm test:run)
  • ✅ Linting (pnpm lint)
  • ✅ Auto-fixing (pnpm lint:fix)

Fixes #5.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: mahata <23497+mahata@users.noreply.github.com>
Copilot AI changed the title [WIP] Switch from ESLint to Biome for linting and styling Switch from ESLint to Biome for linting and styling Jul 8, 2025
Copilot AI requested a review from mahata July 8, 2025 06:15
Copilot finished work on behalf of mahata July 8, 2025 06:15
Comment thread biome.json Outdated
Comment thread biome.json Outdated
Comment thread biome.json Outdated
Comment thread biome.json Outdated
Comment thread biome.json Outdated
Co-authored-by: mahata <23497+mahata@users.noreply.github.com>
Comment thread biome.json Outdated
…ions from biome.json

Co-authored-by: mahata <23497+mahata@users.noreply.github.com>
Copilot finished work on behalf of mahata July 8, 2025 06:24
Comment thread biome.json Outdated
Comment thread biome.json Outdated
Comment thread biome.json Outdated
Co-authored-by: mahata <23497+mahata@users.noreply.github.com>
Co-authored-by: mahata <23497+mahata@users.noreply.github.com>
Copilot finished work on behalf of mahata July 8, 2025 06:37
@mahata mahata marked this pull request as ready for review July 8, 2025 06:38
@mahata mahata merged commit 91e5de0 into main Jul 8, 2025
@mahata mahata deleted the copilot/fix-5 branch July 8, 2025 06:38
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.

Switch from ESLint to Biome for linting and styling

2 participants