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

@ -17,7 +17,7 @@ export default class WithContextLoader {
* The found value is interpreted as a tagrendering and fetched/parsed
* */
public tr(key: string, deflt?: string, translationContext?: string) {
let v: Translatable | TagRenderingConfigJson = this._json[key]
const v: Translatable | TagRenderingConfigJson = this._json[key]
if (v === undefined || v === null) {
if (deflt === undefined) {
return undefined