This commit is contained in:
Zsolt Ero
2024-09-25 14:21:32 +02:00
parent c31027198d
commit cf0243521a
5 changed files with 9 additions and 28 deletions

View File

@@ -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"]
}
}

View File

@@ -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 .

View File

@@ -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'
<h2>How can I use it?</h2>
</div>
<Map />
<Map_ />
<div class="container">
<p>

View File

@@ -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
<p>(You can navigate the map, it's interactive!)</p>
</div>
<Map showStyleURL={true} />
<Map_ showStyleURL={true} />
<div class="container">
<MaplibreText />

View File

@@ -25,7 +25,7 @@
}
.mapbg-attrib {
font: 12px / 20px Helvetica Neue, Arial, Helvetica, sans-serif;
font: 12px / 20px "Helvetica Neue", Arial, Helvetica, sans-serif;
background-color: hsla(0, 0%, 100%, 0.5);
padding: 0 5px;
bottom: 0;