-
pre-commit - lint
pre-push - tests (o en pipeline github)
(yesjs.org)
commit-msg - commitlint
-
Currenty it's simply assumed that there is a .git/hooks directory, but the proper way to do this is to lookup the right path:
```Bash
git rev-parse --git-path hooks
```
This would then also pro…
-
If a hook is already present in a repository, the user should be prompted how they'd like to proceed (overwrite, ignore, or merge).
Work has begun on this in the feature/merge-hooks branch.
-
Add https://www.npmjs.com/package/husky, https://www.npmjs.com/package/lint-staged, eslint, https://prettier.io/
Assure they run on pre-commit hooks
Do #12 first
fonji updated
2 years ago
-
So I've been building a project with this assuming git hooks would work so I could do things like sync a github repo with the local wiki copy.
I went ahead and setup a server debugged a bunch of issu…
-
I wrote as https://github.com/kachick/dotfiles/blob/4a5405c0c8afdeae2ad9b3c345528c7fc2b16022/home-manager/git.nix#L29-L31
But testing as https://github.com/kachick/dotfiles/pull/543 and developing …
-
Add a ruleset indicating that a status check must pass, or that PRs are required, for the main branch. Then:
``` r
gert::git_push()
info [1] "0df1ef7c90ef5d4aa939e0d1aea56ab130d50d17"
gert::g…
-
CodeClimate is very nice but it runs on builds; it'd be nice if we had earlier feedback about code quality.
Marri updated
5 years ago
-
I'm doing a little bit of investigation into git-lfs, and it appears that it also manages its installation by setting up some hooks (specifically `pre-push`, `post-checkout`, `post-commit`, and `post-…
-
Use the pylinting rules that the other python projects in the m-lab org are using.
https://github.com/m-lab/git-hooks/tree/master