Skip to content

feat: replace ESLint with Biome for linting and formatting#9

Merged
yungweng merged 1 commit intomainfrom
feat/biome-linting
Dec 30, 2025
Merged

feat: replace ESLint with Biome for linting and formatting#9
yungweng merged 1 commit intomainfrom
feat/biome-linting

Conversation

@yungweng
Copy link
Copy Markdown
Owner

Summary

  • Remove broken ESLint setup (missing config for v9)
  • Add Biome 2.3.10 as linting/formatting tool (same as gh-tldr)
  • Auto-fix all linting issues across codebase

Changes

  • Add biome.json configuration
  • Update package.json scripts: lint, lint:fix, format
  • Apply code fixes:
    • Add node: protocol to Node.js builtin imports
    • Use template literals consistently
    • Sort and organize imports
    • Remove unused imports

Test plan

  • pnpm lint passes
  • pnpm typecheck passes
  • pnpm build succeeds

- Remove eslint (broken, no config for v9)
- Add @biomejs/biome 2.3.10
- Add biome.json config (matches gh-tldr)
- Update package.json scripts: lint, lint:fix, format
- Auto-fix all linting issues:
  - Add node: protocol to builtin imports
  - Use template literals consistently
  - Sort and organize imports
  - Remove unused imports
@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​biomejs/​biome@​2.3.1010010010098100

View full report

@yungweng yungweng merged commit be255ea into main Dec 30, 2025
4 checks passed
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