diff options
author | Vijay A <avijayr@protonmail.com> | 2021-05-16 13:07:04 +0530 |
---|---|---|
committer | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-05-16 20:25:58 +0530 |
commit | 427fd53eca2ca3b7ce3365bc795c2d090b6d78d9 (patch) | |
tree | e486cc9e7bc9a03fcc6f9f6bafc8658a206a1740 /.husky | |
parent | Updated documentation with gDrive url and other bits related to nightlies. [s... (diff) | |
download | ferdium-app-427fd53eca2ca3b7ce3365bc795c2d090b6d78d9.tar.gz ferdium-app-427fd53eca2ca3b7ce3365bc795c2d090b6d78d9.tar.zst ferdium-app-427fd53eca2ca3b7ce3365bc795c2d090b6d78d9.zip |
Upgraded husky and changed pre-commit hooks location.
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 | ||