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

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}