chore: automatic fix some linting errors, update lint config

This commit is contained in:
Pieter Vander Vennet 2025-06-18 21:52:03 +02:00
parent 04c8ccb0d2
commit 804280511b
26 changed files with 47 additions and 45 deletions

View file

@ -156,7 +156,7 @@ export default class Hotkeys {
}
const contents: string[][] = this.prepareDocumentation(docs).map(
([key, doc, alsoTriggeredBy]) => {
let keyEl: string = [key, ...(alsoTriggeredBy ?? [])]
const keyEl: string = [key, ...(alsoTriggeredBy ?? [])]
.map((k) => "`" + t(k) + "`")
.join(" ")
return [keyEl, t(doc)]

View file

@ -10,7 +10,7 @@
* Show the button, even though we are logged in
*/
export let forceShow: boolean = false
export let msg: String = undefined
export let msg: string = undefined
if (osmConnection === undefined) {
console.error("No osmConnection passed into loginButton")
}