Stop using jshint

This commit is contained in:
Daniel García Aubert 2019-12-23 18:24:32 +01:00
parent 5a96dbb59c
commit eedf220acd

View File

@ -9,9 +9,9 @@ clean:
check: check:
npm test npm test
jshint: eslint:
@echo "***jshint***" @echo "***eslint***"
@./node_modules/.bin/jshint lib/ test/ app.js @./node_modules/.bin/eslint lib/**/*.js test/**/*.js app.js
TEST_SUITE := $(shell find test/{unit,integration,acceptance} -name "*.js") TEST_SUITE := $(shell find test/{unit,integration,acceptance} -name "*.js")
TEST_SUITE_UNIT := $(shell find test/unit -name "*.js") TEST_SUITE_UNIT := $(shell find test/unit -name "*.js")
@ -39,7 +39,7 @@ test-batch:
@echo "***batch queries tests***" @echo "***batch queries tests***"
@$(SHELL) test/run_tests.sh ${RUNTESTFLAGS} $(TEST_SUITE_BATCH) @$(SHELL) test/run_tests.sh ${RUNTESTFLAGS} $(TEST_SUITE_BATCH)
test-all: test jshint test-all: test eslint
coverage: coverage:
@RUNTESTFLAGS=--with-coverage make test @RUNTESTFLAGS=--with-coverage make test