diff options
Diffstat (limited to '.husky')
-rw-r--r-- | .husky/.gitignore | 1 | ||||
-rwxr-xr-x | .husky/pre-commit | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/.husky/.gitignore b/.husky/.gitignore new file mode 100644 index 000000000..31354ec13 --- /dev/null +++ b/.husky/.gitignore | |||
@@ -0,0 +1 @@ | |||
_ | |||
diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 000000000..f1e7b9824 --- /dev/null +++ b/.husky/pre-commit | |||
@@ -0,0 +1,4 @@ | |||
1 | #!/bin/sh | ||
2 | . "$(dirname "$0")/_/husky.sh" | ||
3 | |||
4 | npm run lint && npm run reformat-files && npm run manage-translations && npm run apply-branding | ||