diff options
| author | Fuwn <[email protected]> | 2026-03-01 15:44:57 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-03-01 15:45:49 -0800 |
| commit | 7d7883f9c22a9ab087c86dc617a0b8b70bcc1bde (patch) | |
| tree | 9d0409dab7ab0dfcd5ddc73857cd581194d03306 /biome.json | |
| parent | chore(types): decouple app code from fragile generated route types (diff) | |
| download | due.moe-7d7883f9c22a9ab087c86dc617a0b8b70bcc1bde.tar.xz due.moe-7d7883f9c22a9ab087c86dc617a0b8b70bcc1bde.zip | |
chore(tooling): migrate lint and format to biome
Diffstat (limited to 'biome.json')
| -rw-r--r-- | biome.json | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/biome.json b/biome.json new file mode 100644 index 00000000..d83bba23 --- /dev/null +++ b/biome.json @@ -0,0 +1,70 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.4.4/schema.json", + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true + }, + "files": { + "ignoreUnknown": true + }, + "formatter": { + "enabled": true, + "indentStyle": "space", + "lineWidth": 100 + }, + "css": { + "formatter": { + "enabled": false + } + }, + "javascript": { + "formatter": { + "quoteStyle": "single", + "trailingCommas": "none" + } + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true, + "a11y": { + "useAltText": "off", + "useGenericFontNames": "off" + }, + "complexity": { + "noUselessEmptyExport": "off", + "useLiteralKeys": "off" + }, + "correctness": { + "noInvalidUseBeforeDeclaration": "off" + }, + "suspicious": { + "noDoubleEquals": "off", + "noDuplicateCase": "off", + "useIterableCallbackReturn": "off", + "noImplicitAnyLet": "off" + } + } + }, + "overrides": [ + { + "includes": ["**/*.svelte"], + "formatter": { + "enabled": false + }, + "linter": { + "enabled": false + } + }, + { + "includes": ["src/lib/Data/Static/SampleMedia/*.json"], + "formatter": { + "enabled": false + }, + "linter": { + "enabled": false + } + } + ] +} |