]> git.proxmox.com Git - proxmox-backup.git/commitdiff
ui: tell ESLint to be strict in check target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 12 Nov 2020 08:50:48 +0000 (09:50 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 12 Nov 2020 08:54:39 +0000 (09:54 +0100)
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>
debian/control
debian/debcargo.toml
www/Makefile

index e31fb302c4a638cb2f7e7fdb73aa0ad1bd16de73..00bc55af2f9f8fd34f6e4f487ad5645fc851aa01 100644 (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,
index 225f8265d3ad177117bfffaf86f6210b13cfead5..9fdb60afe869f08839d7530703bf187ca36963d8 100644 (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",
index f64d2bba7ad81f3787fc4886df378a4559f90a80..1df2195ac2b1375bff78d001bddbf1405f574bb3 100644 (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}