Formats staged files on pre-commit with prettier. Requires running `yarn prepare` once or is enabled after first `yarn install`.
6 lines
92 B
Bash
Executable File
6 lines
92 B
Bash
Executable File
#!/usr/bin/env sh
|
|
[ -n "$CI" ] && exit 0
|
|
|
|
. "$(dirname -- "$0")/_/husky.sh"
|
|
|
|
npx lint-staged |