Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects

Resolve "add git hook with lint"

Merged Celeste Robert requested to merge 77-add-git-hook-with-lint into master
1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
.husky/pre-commit 0 → 100755
+ 6
0
 
#!/usr/bin/env sh
 
. "$(dirname -- "$0")/_/husky.sh"
 
 
echo 'Starting commit... 🐶'
 
npm run lint -- --fix
 
echo 'Code indented 👍'
Loading