chore: add biome.json as an opt-in alternative to Prettier and ESLint#548
Open
SOV710 wants to merge 1 commit intodi-sukharev:masterfrom
Open
chore: add biome.json as an opt-in alternative to Prettier and ESLint#548SOV710 wants to merge 1 commit intodi-sukharev:masterfrom
SOV710 wants to merge 1 commit intodi-sukharev:masterfrom
Conversation
For developers who prefer Biome, this config mirrors the existing .prettierrc rules (single quotes, no trailing commas) and ESLint rules (recommended rules, no-console as error, import sorting via assist). This is not a replacement — Prettier and ESLint remain the primary tooling. biome.json is an opt-in for those who already use Biome.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a
biome.jsonconfiguration file for developers who prefer Biome over Prettier and ESLint.Why
The project currently provides
.prettierrcand.eslintrc.jsonas the canonical tooling. This PR does not replace them — Prettier and ESLint remain the primary setup.biome.jsonis purely opt-in for contributors who already use Biome in their workflow.How
The configuration is intentionally kept aligned with the existing rules:
.prettierrc—singleQuote: truejavascript.formatter.quoteStyle: "single".prettierrc—trailingComma: "none"javascript.formatter.trailingCommas: "none".prettierignore—build,dist,outfiles.includesforce-ignore (!!)eslint:recommended+@typescript-eslint/recommendedlinter.rules.recommended: trueno-console: "error"linter.rules.suspicious.noConsole: "error"@typescript-eslint/no-non-null-assertion: "off"linter.rules.style.noNonNullAssertion: "off"simple-import-sort+import/first+import/no-duplicatesassist.actions.source.organizeImports: "on"VCS integration is enabled so Biome respects the existing
.gitignoreautomatically.Notes
2.4.x).