Skip to content

Commit cf02435

Browse files
committed
biome
1 parent c310271 commit cf02435

File tree

5 files changed

+9
-28
lines changed

5 files changed

+9
-28
lines changed

biome.jsonc

+2-21
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,8 @@
1212
"enabled": true,
1313
"rules": {
1414
"recommended": true,
15-
"style": {
16-
// "noUselessElse": "off",
17-
// "noParameterAssign": "off",
18-
// "noArguments": "off"
19-
},
20-
"a11y": {
21-
// "useKeyWithClickEvents": "off",
22-
// "useValidAnchor": "off",
23-
"useButtonType": "off"
24-
// "noBlankTarget": "off",
25-
// "noNoninteractiveTabindex": "off"
26-
},
27-
"security": {
28-
// "noDangerouslySetInnerHtml": "off"
29-
},
30-
"suspicious": {
31-
"noAssignInExpressions": "off"
32-
// "noArrayIndexKey": "off"
33-
},
3415
"complexity": {
35-
// "noForEach": "off"
16+
"noForEach": "off"
3617
}
3718
},
3819
"ignore": []
@@ -45,6 +26,6 @@
4526
},
4627
"files": {
4728
"maxSize": 100000,
48-
"ignore": []
29+
"ignore": ["venv", "dist", ".astro"]
4930
}
5031
}

lint.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env bash
22

33
# biome
4-
pnpm biome check --write --unsafe --colors=off --log-level=info --log-kind=pretty . | grep path | sort
5-
#pnpm biome check --write --unsafe .
4+
#pnpm biome check --write --unsafe --colors=off --log-level=info --log-kind=pretty . | grep path | sort
5+
pnpm biome check --write --unsafe .
66

77
ruff check --fix .
88
ruff format .

website/src/pages/index.astro

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
import Donate from '../components/Donate.astro'
33
import Logo from '../components/Logo.astro'
4-
import Map from '../components/Map.astro'
4+
import Map_ from '../components/Map.astro'
55
import Layout from '../layouts/Layout.astro'
66
77
import { Content as AfterDonate } from '../content/index/after_donate.md'
@@ -17,7 +17,7 @@ import { Content as WhatisText } from '../content/index/whatis.md'
1717
<h2>How can I use it?</h2>
1818
</div>
1919

20-
<Map />
20+
<Map_ />
2121

2222
<div class="container">
2323
<p>

website/src/pages/quick_start.astro

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import Map from '../components/Map.astro'
2+
import Map_ from '../components/Map.astro'
33
import Layout from '../layouts/Layout.astro'
44
55
import Donate from '../components/Donate.astro'
@@ -26,7 +26,7 @@ import { Content as SelfHostingText } from '../content/how_to_use/self_hosting.m
2626
<p>(You can navigate the map, it's interactive!)</p>
2727
</div>
2828

29-
<Map showStyleURL={true} />
29+
<Map_ showStyleURL={true} />
3030

3131
<div class="container">
3232
<MaplibreText />

website/src/styles/map.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
}
2626

2727
.mapbg-attrib {
28-
font: 12px / 20px Helvetica Neue, Arial, Helvetica, sans-serif;
28+
font: 12px / 20px "Helvetica Neue", Arial, Helvetica, sans-serif;
2929
background-color: hsla(0, 0%, 100%, 0.5);
3030
padding: 0 5px;
3131
bottom: 0;

0 commit comments

Comments
 (0)