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.
4 lines
73 B
Bash
Executable file
4 lines
73 B
Bash
Executable file
#!/bin/sh
|
|
. "$(dirname "$0")/_/husky.sh"
|
|
|
|
cd front && yarn run precommit
|