forked from external-repos/pa11y-dashboard
Lint JavaScript
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,12 +1,20 @@
|
||||
|
||||
# Group targets
|
||||
all: deps
|
||||
all: deps lint
|
||||
|
||||
# Install dependencies
|
||||
deps:
|
||||
@echo "Installing dependencies..."
|
||||
@npm install
|
||||
|
||||
# Lint JavaScript
|
||||
lint:
|
||||
@echo "Linting JavaScript..."
|
||||
@./node_modules/.bin/jshint \
|
||||
--config ./test/config/jshint.json \
|
||||
--exclude ./node_modules \
|
||||
*.js **/*.js
|
||||
|
||||
# Start the application
|
||||
start:
|
||||
@echo "Starting application..."
|
||||
|
Reference in New Issue
Block a user