-
-
Notifications
You must be signed in to change notification settings - Fork 26
chore: biome lint #581
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
base: main
Are you sure you want to change the base?
chore: biome lint #581
Conversation
- Replace ESLint with Biome for linting - Replace Prettier with Biome for formatting (except Tailwind sorting) - Keep prettier-plugin-svelte and prettier-plugin-tailwindcss for class sorting - Add import sorting with groups (node → packages → $lib → relative) - Update lint-staged to run Prettier then Biome - Remove 8 ESLint-related packages, add @biomejs/biome 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Simplify biome.json config (117 → 96 lines)
- Use default double quotes instead of single
- Use default trailing commas ("all") instead of none
- Use default 80 char line width instead of 100
- Remove redundant enabled/recommended flags
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
✅ Deploy Preview for btcmap ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Biome's formatter removed `= undefined` initializers from component exports, which changed optional props to required in Svelte's type system. This fix restores the initializers with biome-ignore comments. Also fixes type errors in communities and tagger pages by adding proper type guards and null coalescing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Wait for merchant list items to appear before checking header text, ensuring the store is populated. Also handle both "X locations in view" and "Showing X nearest of Y" header variants. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
98e49b5 to
2a66512
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR applies Biome linting to standardize code formatting across the codebase. The changes are purely cosmetic and focus on enforcing consistent code style.
Key Changes:
- Enforced consistent quote style (single to double quotes)
- Standardized import ordering and formatting
- Normalized trailing commas in objects and arrays
- Fixed indentation and line breaks for better readability
Reviewed changes
Copilot reviewed 161 out of 202 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Multiple route files (+page.svelte, +page.server.ts, +page.ts) | Quote style changes and import reordering |
| Component files (*.svelte) | Formatting fixes for attributes and template syntax |
| Worker files (*.ts) | Import reordering and type formatting |
| Library files (store.ts, utils.ts, types.ts) | Quote normalization and trailing comma additions |
| Sync functions (areas.ts, events.ts, users.ts, etc.) | Import ordering and config object formatting |
| Map utilities (viewport.ts, setup files) | Type formatting and parameter alignment |

No description provided.