diff --git a/services/web/Makefile b/services/web/Makefile index 76d8891dd7..d72459c4b7 100644 --- a/services/web/Makefile +++ b/services/web/Makefile @@ -222,6 +222,9 @@ ci: MOCHA_ARGS="--reporter tap" \ $(MAKE) test +lint: + npm -q run lint + .PHONY: all add install update test test_unit test_frontend test_acceptance \ test_acceptance_start_service test_acceptance_stop_service \ diff --git a/services/web/package.json b/services/web/package.json index ab847d48c2..3a5609f072 100644 --- a/services/web/package.json +++ b/services/web/package.json @@ -20,7 +20,8 @@ "start": "npm -q run compile && node app.js", "nodemon": "nodemon --config nodemon.json", "nodemon:frontend": "nodemon --config nodemon.frontend.json", - "webpack": "webpack-dev-server --config webpack.config.dev.js" + "webpack": "webpack-dev-server --config webpack.config.dev.js", + "lint": "eslint -f unix ." }, "dependencies": { "archiver": "0.9.0",