]> git.proxmox.com Git - proxmox-widget-toolkit.git/blobdiff - src/Makefile
buildsys: enforce eslint for api-viewer
[proxmox-widget-toolkit.git] / src / Makefile
index 9e3ad4ec416c5241ea1271f719c3655873d70b25..afbe2eca2f7e1a5a290b9b60b8a1ea2b97271bda 100644 (file)
@@ -86,8 +86,10 @@ all: ${SUBDIRS}
 
 .PHONY: lint
 check: lint
+       eslint --strict api-viewer/APIViewer.js
 lint: ${JSSRC}
        eslint --strict ${JSSRC}
+       touch ".lint-incremental"
 
 proxmoxlib.js: .lint-incremental ${JSSRC}
        # add the version as comment in the file