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 <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-11-12 09:50:48 +01:00
parent f792220dd4
commit 87367decf2
3 changed files with 3 additions and 3 deletions

2
debian/control vendored
View File

@ -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,

View File

@ -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",

View File

@ -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}