diff --git a/.prettierrc b/.prettierrc index 963354f..856eb3e 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,3 +1,4 @@ { - "printWidth": 120 + "printWidth": 120, + "trailingComma": "all" } diff --git a/style/index.tsx b/style/index.tsx index 9f9ee2a..7b7b81f 100644 --- a/style/index.tsx +++ b/style/index.tsx @@ -47,7 +47,6 @@ import { WaterArea } from "./WaterArea"; import { WaterAreaNames } from "./WaterAreaNames"; import { WaterLine } from "./WaterLine"; import { WaterLineNames } from "./WaterLineNames"; -import { GdalLayer } from "./GdalLayer"; const dbParams = config.get("db") as Record; const contoursCfg = config.get("mapFeatures.contours") as boolean; diff --git a/style/routes.tsx b/style/routes.tsx index 3954384..33d1a37 100644 --- a/style/routes.tsx +++ b/style/routes.tsx @@ -221,7 +221,6 @@ export async function initIcons() { return Promise.all( Object.entries(colorMap).map(([color, colorValue]) => Promise.all([ - // TODO u fs.writeFile(path.resolve(tmpdir(), `ski-${color}.svg`), String(skiSvg).replaceAll("#ff00ff", colorValue)), fs.writeFile(path.resolve(tmpdir(), `horse-${color}.svg`), String(horseSvg).replaceAll("#ff00ff", colorValue)), ]),