jakob.scheid and Gitea
aecce32842
style: format code using Prettier
2026-08-09 13:09:39 +02:00
jakob.scheid and Gitea
995e77b69a
style: remove unnecessary function whitespace
...
Remove the unnecessary whitespace between the function name or the
'function' keyword and the opening parenthesis.
2026-08-09 13:09:39 +02:00
jakob.scheid and Gitea
cd1755693b
style: remove unnecessary semicolons after blocks
2026-08-09 13:09:39 +02:00
jakob.scheid and Gitea
7ae4fb9a3f
style: ensure newlines at the end of each file
2026-08-09 13:09:39 +02:00
jakob.scheid
e0e2033fdf
refactor(settings)!: pass path to getSettingsRecursively using an array instead of a string
...
Tests and all files the utility is used in are also updated.
Warning: This change is breaking!
2026-07-28 20:10:27 +02:00
jakob.scheid
e18c066629
refactor(settings): use oneline if statement
...
Use a oneline if statement in the getSetting utility.
2026-07-28 20:10:27 +02:00
jakob.scheid and jakob.scheid
2fb747f587
feat(settings): add utility functions to get settings
...
Utility function getSetting for getting a first-level setting from a
list of settings and unit tests.
Utility function getSettingRecursively to get any setting from a list
of settings. The setting can be at any nesting level in the settings
list and unit tests.
2026-07-28 20:08:38 +02:00