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" + } + } + } +}