]> git.proxmox.com Git - pve-eslint.git/commit
change from CLIEngine to ESLint
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 2 Dec 2021 12:54:18 +0000 (13:54 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 6 Dec 2021 12:58:25 +0000 (13:58 +0100)
commit7a730cb60189b4b2b4c0e167797d9aa1ccf15ea6
tree6918ad7bd114211d6ffabdd096738afeed9cbd58
parentbe7da736f90e5a44029e4bb054b7717c544fa30f
change from CLIEngine to ESLint

8.0 officialy removed CLIEngine (though it's still in git) so use
the current and supported API.

Necessary changes:
* use 'ESLint' instead of 'CLIEngine'
* use 'lintFiles' instead of 'executeOnFiles' (thats async now)
* adapt to the change of return value of 'lintFiles'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
patches/0001-adapt-webpack-config.patch
src/bin/app.js
src/lib/worker.js