From d5dcd42d2cc926efb5e293bf357d2759b8e3c718 Mon Sep 17 00:00:00 2001 From: SOV710 Date: Sat, 4 Apr 2026 17:19:56 +0000 Subject: [PATCH] chore: add biome.json as an alternative to Prettier and ESLint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- biome.json | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 biome.json diff --git a/biome.json b/biome.json new file mode 100644 index 00000000..4f0057d6 --- /dev/null +++ b/biome.json @@ -0,0 +1,52 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.4.10/schema.json", + + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true + }, + + "files": { + "ignoreUnknown": true, + "includes": ["**", "!!build", "!!dist", "!!out"] + }, + + "formatter": { + "enabled": true, + "indentStyle": "space", + "indentWidth": 2, + "lineEnding": "lf" + }, + + "javascript": { + "formatter": { + "quoteStyle": "single", + "jsxQuoteStyle": "double", + "trailingCommas": "none", + "semicolons": "always" + } + }, + + "linter": { + "enabled": true, + "rules": { + "recommended": true, + "suspicious": { + "noConsole": "error" + }, + "style": { + "noNonNullAssertion": "off" + } + } + }, + + "assist": { + "enabled": true, + "actions": { + "source": { + "organizeImports": "on" + } + } + } +}