partey_workadventure/.husky/pre-commit
David Négrier bdc4b43c17 Setting up prettier
In order not to wreak havoc on all the open PRs, Prettier will be added slowly,
on every changed file, thanks to Husky (for a precommit hook) and lint-staged, for linting only staged files.
2021-06-23 10:10:53 +02:00

5 lines
73 B
Bash
Executable File

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
cd front && yarn run precommit