use eslint and execute as check target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-06-06 17:20:50 +02:00
parent ec8c0f111c
commit c898b490c7

View File

@ -76,8 +76,9 @@ ${DSC}: ${BUILDDIR}
lintian ${DSC}
.PHONY: lint
check: lint
lint: ${JSSRC}
jslint ${JSSRC}
eslint ${JSSRC}
proxmoxlib.js: ${JSSRC}
# add the version as comment in the file