lots of churn and changes but will allow to enforce linting again in
the build system.
Also switch over from var to let.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
all autofixed by eslint with a slightly reduced base config rule set
to avoid rules which may give some undesired results in our code
base.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>