mirror of
https://github.com/transmission/transmission
synced 2024-12-23 00:04:06 +00:00
be219ddee0
* chore: add precommit hook for testing code style * chore: use prettier + eslint for js code
6 lines
142 B
Bash
Executable file
6 lines
142 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
[ -z "$TR_SKIP_HOOKS" ] || exit 0
|
|
|
|
root="$(git rev-parse --show-toplevel)"
|
|
exec "${root}/format/format.sh" --staged --test
|