diff --git a/biome.jsonc b/biome.jsonc index 4045946..5049d69 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -12,27 +12,8 @@ "enabled": true, "rules": { "recommended": true, - "style": { - // "noUselessElse": "off", - // "noParameterAssign": "off", - // "noArguments": "off" - }, - "a11y": { - // "useKeyWithClickEvents": "off", - // "useValidAnchor": "off", - "useButtonType": "off" - // "noBlankTarget": "off", - // "noNoninteractiveTabindex": "off" - }, - "security": { - // "noDangerouslySetInnerHtml": "off" - }, - "suspicious": { - "noAssignInExpressions": "off" - // "noArrayIndexKey": "off" - }, "complexity": { - // "noForEach": "off" + "noForEach": "off" } }, "ignore": [] @@ -45,6 +26,6 @@ }, "files": { "maxSize": 100000, - "ignore": [] + "ignore": ["venv", "dist", ".astro"] } } diff --git a/lint.sh b/lint.sh index e2225be..f8c8919 100755 --- a/lint.sh +++ b/lint.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash # biome -pnpm biome check --write --unsafe --colors=off --log-level=info --log-kind=pretty . | grep path | sort -#pnpm biome check --write --unsafe . +#pnpm biome check --write --unsafe --colors=off --log-level=info --log-kind=pretty . | grep path | sort +pnpm biome check --write --unsafe . ruff check --fix . ruff format . diff --git a/website/src/pages/index.astro b/website/src/pages/index.astro index 95d0556..a8db7ab 100644 --- a/website/src/pages/index.astro +++ b/website/src/pages/index.astro @@ -1,7 +1,7 @@ --- import Donate from '../components/Donate.astro' import Logo from '../components/Logo.astro' -import Map from '../components/Map.astro' +import Map_ from '../components/Map.astro' import Layout from '../layouts/Layout.astro' import { Content as AfterDonate } from '../content/index/after_donate.md' @@ -17,7 +17,7 @@ import { Content as WhatisText } from '../content/index/whatis.md'
diff --git a/website/src/pages/quick_start.astro b/website/src/pages/quick_start.astro index 076a0ca..ef45f0e 100644 --- a/website/src/pages/quick_start.astro +++ b/website/src/pages/quick_start.astro @@ -1,5 +1,5 @@ --- -import Map from '../components/Map.astro' +import Map_ from '../components/Map.astro' import Layout from '../layouts/Layout.astro' import Donate from '../components/Donate.astro' @@ -26,7 +26,7 @@ import { Content as SelfHostingText } from '../content/how_to_use/self_hosting.m
(You can navigate the map, it's interactive!)