Skip to content

Commit

Permalink
Execute linters in parallel (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo committed Oct 28, 2020
1 parent 7fb6fb7 commit 93359d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Expand Up @@ -14,16 +14,16 @@ docs: build # runs the documentation tests
${CURDIR}/node_modules/.bin/text-run --offline --format dot

fix: # fixes the fixable issues in the code base
${CURDIR}/node_modules/.bin/prettier --write . &
${CURDIR}/node_modules/.bin/eslint --ext=.ts --fix .
${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: # lints all files
${CURDIR}/node_modules/.bin/eslint --ext=.ts . &
${CURDIR}/node_modules/.bin/prettier -l . &
${CURDIR}/node_modules/.bin/tsc --noEmit
${CURDIR}/node_modules/.bin/eslint --ext=.ts .
${CURDIR}/node_modules/.bin/prettier -l .

test: # runs all tests
${CURDIR}/node_modules/.bin/tsc --noEmit &
Expand Down

0 comments on commit 93359d4

Please sign in to comment.