We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f916e8 commit 47eb836Copy full SHA for 47eb836
1 file changed
src/scripts/validate.js
@@ -18,6 +18,7 @@ const useDefaultScripts = typeof validateScripts !== 'string'
18
const scripts = useDefaultScripts
19
? {
20
build: ifScript('build', 'npm run build --silent'),
21
+ format: precommit ? null : ifScript('format', 'npm run format --list-different'),
22
lint: precommit ? null : ifScript('lint', 'npm run lint --silent'),
23
test: precommit
24
? null
0 commit comments