Chore: housekeeping, linting

This commit is contained in:
Pieter Vander Vennet 2025-06-04 00:21:28 +02:00
parent f942529755
commit 30d00eb06d
74 changed files with 998 additions and 623 deletions

View file

@ -44,11 +44,13 @@
if (byKey) {
return byKey
}
return trs.find(tr => tr.mappings.some(mapping => {
const ifTags = Or.construct(Utils.NoNull([mapping.if, mapping.alsoShowIf]))
const keys = ifTags.usedKeys()
return keys.some(k => k == key)
}))
return trs.find((tr) =>
tr.mappings.some((mapping) => {
const ifTags = Or.construct(Utils.NoNull([mapping.if, mapping.alsoShowIf]))
const keys = ifTags.usedKeys()
return keys.some((k) => k == key)
})
)
}
const mergedCount: Store<