Chore: lint themes and layers

This commit is contained in:
Pieter Vander Vennet 2023-09-24 17:34:18 +02:00
parent 456da1b6c3
commit d7115e46ee
20 changed files with 24 additions and 24 deletions

View file

@ -504,4 +504,4 @@
] ]
} }
] ]
} }

View file

@ -5294,4 +5294,4 @@
}, },
"neededChangesets": 10 "neededChangesets": 10
} }
} }

View file

@ -386,4 +386,4 @@
"accepts_debit_cards", "accepts_debit_cards",
"accepts_credit_cards" "accepts_credit_cards"
] ]
} }

View file

@ -134,4 +134,4 @@
"lineCap": "square" "lineCap": "square"
} }
] ]
} }

View file

@ -244,4 +244,4 @@
"fr": "Une couche affichant les douches (publiques)", "fr": "Une couche affichant les douches (publiques)",
"ca": "Una capa que mostra dutxes (públiques)" "ca": "Una capa que mostra dutxes (públiques)"
} }
} }

View file

@ -172,4 +172,4 @@
} }
} }
] ]
} }

View file

@ -1607,4 +1607,4 @@
] ]
}, },
"credits": "joost schouppe" "credits": "joost schouppe"
} }

View file

@ -465,4 +465,4 @@
"toilet" "toilet"
], ],
"credits": "Christian Neumann <christian@utopicode.de>" "credits": "Christian Neumann <christian@utopicode.de>"
} }

View file

@ -19,4 +19,4 @@
"startLat": 53.0565, "startLat": 53.0565,
"startLon": 8.7492, "startLon": 8.7492,
"startZoom": 11 "startZoom": 11
} }

View file

@ -288,4 +288,4 @@
} }
], ],
"hideFromOverview": false "hideFromOverview": false
} }

View file

@ -69,4 +69,4 @@
} }
} }
] ]
} }

View file

@ -773,4 +773,4 @@
"overpassMaxZoom": 15, "overpassMaxZoom": 15,
"osmApiTileSize": 17, "osmApiTileSize": 17,
"credits": "Pieter Vander Vennet" "credits": "Pieter Vander Vennet"
} }

View file

@ -525,4 +525,4 @@
] ]
}, },
"enableDownload": true "enableDownload": true
} }

View file

@ -144,7 +144,7 @@
"width": 5 "width": 5
} }
], ],
"=presets": [ ], "=presets": [],
"source": { "source": {
"=osmTags": { "=osmTags": {
"and": [ "and": [
@ -220,4 +220,4 @@
} }
], ],
"credits": "Niels Elgaard Larsen" "credits": "Niels Elgaard Larsen"
} }

View file

@ -71,4 +71,4 @@
} }
} }
] ]
} }

View file

@ -412,4 +412,4 @@
] ]
} }
] ]
} }

View file

@ -239,4 +239,4 @@
"hideFromOverview": true, "hideFromOverview": true,
"enableMoreQuests": false, "enableMoreQuests": false,
"enableShareScreen": false "enableShareScreen": false
} }

View file

@ -62,4 +62,4 @@
} }
} }
] ]
} }

View file

@ -271,4 +271,4 @@
] ]
} }
] ]
} }

View file

@ -3,10 +3,10 @@ import { writeFileSync } from "fs"
import { import {
FixLegacyTheme, FixLegacyTheme,
UpdateLegacyLayer, UpdateLegacyLayer,
} from "../Models/ThemeConfig/Conversion/LegacyJsonConvert" } from "../src/Models/ThemeConfig/Conversion/LegacyJsonConvert"
import Translations from "../UI/i18n/Translations" import Translations from "../src/UI/i18n/Translations"
import { Translation } from "../UI/i18n/Translation" import { Translation } from "../src/UI/i18n/Translation"
import { LayerConfigJson } from "../Models/ThemeConfig/Json/LayerConfigJson" import { LayerConfigJson } from "../src/Models/ThemeConfig/Json/LayerConfigJson"
/* /*
* This script reads all theme and layer files and reformats them inplace * This script reads all theme and layer files and reformats them inplace