7 lines
278 B
Bash
Executable File
7 lines
278 B
Bash
Executable File
#!/usr/bin/env sh
|
|
. "$(dirname -- "$0")/_/husky.sh"
|
|
|
|
# use --no-stash with submodules. Without this it will fail if there are changes only in submodule
|
|
# https://github.com/okonet/lint-staged/issues/929#issuecomment-1177098945
|
|
npx lint-staged --allow-empty --verbose --no-stash
|