Skip to content

chore: add biome.json as an opt-in alternative to Prettier and ESLint#548

Open
SOV710 wants to merge 1 commit intodi-sukharev:masterfrom
SOV710:master
Open

chore: add biome.json as an opt-in alternative to Prettier and ESLint#548
SOV710 wants to merge 1 commit intodi-sukharev:masterfrom
SOV710:master

Conversation

@SOV710
Copy link
Copy Markdown

@SOV710 SOV710 commented Apr 4, 2026

What

Adds a biome.json configuration file for developers who prefer Biome over Prettier and ESLint.

Why

The project currently provides .prettierrc and .eslintrc.json as the canonical tooling. This PR does not replace them — Prettier and ESLint remain the primary setup. biome.json is purely opt-in for contributors who already use Biome in their workflow.

How

The configuration is intentionally kept aligned with the existing rules:

Existing rule Biome equivalent
.prettierrcsingleQuote: true javascript.formatter.quoteStyle: "single"
.prettierrctrailingComma: "none" javascript.formatter.trailingCommas: "none"
.prettierignorebuild, dist, out files.includes force-ignore (!!)
eslint:recommended + @typescript-eslint/recommended linter.rules.recommended: true
no-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-duplicates assist.actions.source.organizeImports: "on"

VCS integration is enabled so Biome respects the existing .gitignore automatically.

Notes

  • No existing files are modified.
  • Contributors using Prettier + ESLint are completely unaffected.
  • The schema targets Biome v2 (2.4.x).

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.
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