]> git.proxmox.com Git - pve-eslint.git/log
pve-eslint.git
4 years agorules: dot-location: set location parameter to property
Thomas Lamprecht [Thu, 9 Apr 2020 16:29:46 +0000 (18:29 +0200)]
rules: dot-location: set location parameter to property

who the heck makes the following syntax the default:
> foo.
>    bar().
>    baz();

So let's enforce the right thing™ and enforce the dot sticking to the
property, not the object, i.e.:

> foo
>    .bar().
>    .baz();

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoexit sanely if no args are given
Thomas Lamprecht [Thu, 9 Apr 2020 16:27:48 +0000 (18:27 +0200)]
exit sanely if no args are given

I mean some seem to like python style throwing up in ones face on
every occasion.. I don't though..

nodes drops the original argv0 in favor of process.execPath and the
path to the JavaScript file being executed, so we need more than two
args to be OK.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoglobals: sort and add PBS
Thomas Lamprecht [Thu, 9 Apr 2020 16:15:36 +0000 (18:15 +0200)]
globals: sort and add PBS

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 7.0.0~alpha3
Thomas Lamprecht [Thu, 9 Apr 2020 15:57:26 +0000 (17:57 +0200)]
bump version to 7.0.0~alpha3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoadd dsc target, fix various packaging related stuff
Thomas Lamprecht [Thu, 9 Apr 2020 15:57:06 +0000 (17:57 +0200)]
add dsc target, fix various packaging related stuff

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agofirst commit
Dominik Csapak [Thu, 2 Apr 2020 07:24:29 +0000 (09:24 +0200)]
first commit

includes a (minimal) working wrapper

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>