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:
parent
f792220dd4
commit
87367decf2
2
debian/control
vendored
2
debian/control
vendored
@ -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,
|
||||
|
2
debian/debcargo.toml
vendored
2
debian/debcargo.toml
vendored
@ -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",
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user