[pve-devel] applied: [PATCH eslint] change from CLIEngine to ESLint

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Dec 6 14:40:41 CET 2021


On 02.12.21 13:54, Dominik Csapak wrote:
> 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 at proxmox.com>
> ---
> after appliying this, we have to 'make buildupstream' again, since the
> included code changes (CLIEngine -> ESLint)
> 
>  patches/0001-adapt-webpack-config.patch |  2 +-
>  src/bin/app.js                          |  4 ++--
>  src/lib/worker.js                       | 12 +++++++-----
>  3 files changed, 10 insertions(+), 8 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list