From 87367decf29e0e4495236a2be5c874195471c252 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 12 Nov 2020 09:50:48 +0100 Subject: [PATCH] ui: tell ESLint to be strict in check target the .lint-incremental target, which is implicitly used by the install target, is still more forgiving to allow faster "change, build, test" iteration when developing. Signed-off-by: Thomas Lamprecht --- debian/control | 2 +- debian/debcargo.toml | 2 +- www/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index e31fb302..00bc55af 100644 --- a/debian/control +++ b/debian/control @@ -79,7 +79,7 @@ Build-Depends: debhelper (>= 11), uuid-dev, debhelper (>= 12~), bash-completion, - pve-eslint, + pve-eslint (>= 7.12.1-1), python3-docutils, python3-pygments, rsync, diff --git a/debian/debcargo.toml b/debian/debcargo.toml index 225f8265..9fdb60af 100644 --- a/debian/debcargo.toml +++ b/debian/debcargo.toml @@ -14,7 +14,7 @@ section = "admin" build_depends = [ "debhelper (>= 12~)", "bash-completion", - "pve-eslint", + "pve-eslint (>= 7.12.1-1)", "python3-docutils", "python3-pygments", "rsync", diff --git a/www/Makefile b/www/Makefile index f64d2bba..1df2195a 100644 --- a/www/Makefile +++ b/www/Makefile @@ -83,7 +83,7 @@ js/proxmox-backup-gui.js: .lint-incremental js OnlineHelpInfo.js ${JSSRC} .PHONY: check check: - eslint ${JSSRC} + eslint --strict ${JSSRC} touch ".lint-incremental" .lint-incremental: ${JSSRC}