Add eslint with eslint-config-airbnb
This commit is contained in:
parent
fa29da1a32
commit
d7eb1206fe
6 changed files with 132 additions and 25 deletions
5
Makefile
5
Makefile
|
@ -145,6 +145,9 @@ web-format:
|
|||
web-format-check:
|
||||
cd web && npm run format:check
|
||||
|
||||
web-lint:
|
||||
cd web && npm run lint
|
||||
|
||||
# Main server/client build
|
||||
|
||||
cli: cli-deps
|
||||
|
@ -233,7 +236,7 @@ cli-build-results:
|
|||
|
||||
# Test/check targets
|
||||
|
||||
check: test web-format-check fmt-check vet lint staticcheck
|
||||
check: test web-format-check fmt-check vet web-lint lint staticcheck
|
||||
|
||||
test: .PHONY
|
||||
go test $(shell go list ./... | grep -vE 'ntfy/(test|examples|tools)')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue