aboutsummaryrefslogtreecommitdiff
path: root/biome.json
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-03-01 15:44:57 -0800
committerFuwn <[email protected]>2026-03-01 15:45:49 -0800
commit7d7883f9c22a9ab087c86dc617a0b8b70bcc1bde (patch)
tree9d0409dab7ab0dfcd5ddc73857cd581194d03306 /biome.json
parentchore(types): decouple app code from fragile generated route types (diff)
downloaddue.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.json70
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
+ }
+ }
+ ]
+}