Skip to content

Commit

Permalink
add format check to validate
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkrolick authored Sep 3, 2018
1 parent 3f916e8 commit 47eb836
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const useDefaultScripts = typeof validateScripts !== 'string'
const scripts = useDefaultScripts
? {
build: ifScript('build', 'npm run build --silent'),
format: precommit ? null : ifScript('format', 'npm run format --list-different'),
lint: precommit ? null : ifScript('lint', 'npm run lint --silent'),
test: precommit
? null
Expand Down

0 comments on commit 47eb836

Please sign in to comment.