Skip to content

Commit

Permalink
Run linters in parallel (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo committed Oct 28, 2020
1 parent c668a59 commit 39d463b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ doc: # runs the documentation tests
${CURDIR}/node_modules/.bin/text-run --offline --format=dot

fix: # runs the fixers
${CURDIR}/node_modules/.bin/prettier --write . &
${CURDIR}/node_modules/.bin/eslint --fix --ext=.ts .
${CURDIR}/node_modules/.bin/prettier --write .

help: # prints all make targets
cat Makefile | grep '^[^ ]*:' | grep -v '.PHONY' | grep -v help | sed 's/:.*#/#/' | column -s "#" -t

lint: # runs all linters
${CURDIR}/node_modules/.bin/prettier -l . &
${CURDIR}/node_modules/.bin/eslint --ext=.ts .
${CURDIR}/node_modules/.bin/prettier -l .

publish: # deploys the current version to npmjs.com
npm publish
Expand Down

0 comments on commit 39d463b

Please sign in to comment.