git-conventional-commits
lefthook
git-conventional-commits | lefthook | |
---|---|---|
3 | 12 | |
310 | 4,001 | |
- | 4.3% | |
6.8 | 8.9 | |
about 1 month ago | 4 days ago | |
JavaScript | Go | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
git-conventional-commits
- Apollo dev posts backend code to Git to disprove Reddit’s claims of scrapping and inefficiency
-
Maintain consistent styles for developers working across various editors
> https://direnv.net/ -- when you cd to a directory, do things like set variables.
Just use dotenv instead.
https://asdf-vm.com/ -- manage and use specific versions of software. Can work with direnv too!
May be useful in some cases, but adds a global dependency on asdf itself.
> https://pre-commit.com/ -- git hooks that I personally found easier to manage than Husky.
Git hooks are disturbing and slow down and/or break advanced git interactions.
> https://github.com/qoomon/git-conventional-commits -- enforce standard commit messages. Works with pre-commit!
Only if you want to be so pedantic about them. I find it mostly a waste of time to enforce commit message style.
-
Automated Frontend Workflow
After installation, it will generate a lefthook.yml file which can be customized to perform a static code analysis before committing the code. For example, it can ensure that the git commit follows the git-conventional-commits, and use Prettier, ESLint, and Stylelint to check, format, and fix any file which will be committed and run any test related with Vitest depending on the filetype and run each in parallel.
lefthook
-
I switch from Eslint to Biome
Reading Biome doc I also switched from husky to lefthook.
-
Launch NextJS App 🚀 (Template)
Lefthook - super powerfull git hook manager written in Go. In case of problems in CI you can cet CI=true env variable to disable it. Installs via prepare script in package.json on local npm install.
-
What is your must have npm package on any given project?
lefthook is great for git hooks - much prefer it to husky and lint-staged combo.
-
Automated Frontend Workflow
Lefthook is a fast and powerful Git hooks manager for Node.js and any other type of project written in Go.
- Lefthook: Fast, powerful Git hooks manager for any prooject
-
How to prevent bad commits and test code with lefthook and integrate with Flutter
Lefthook repo
-
My Laravel specific git hooks for post-checkout and post-merge
If you want a way to define & manage your hooks in your repo that others can replicate in theirs easily, check out https://github.com/evilmartians/lefthook - you could pretty much commit a lefthook.yml file referencing these Laravel post-checkout and post-merge hooks, then all your devs need to do is lefthook install to start using them
-
Stop arguing about code style in pull requests!
As documentation says, lefthook is a “fast and powerful Git hooks manager for Node.js, Ruby or any other type of projects”. What does it mean? This means that you can set up some commands to be executed when you do, for example, git commit or git push.
- Dum: An NPM scripts runner written in Rust
-
Rails application boilerplate for fast MVP development
add lefthook
What are some alternatives?
Apollo-CustomApiCredentials - Tweak to use your own reddit API credentials in Apollo
husky - git hooks made easy
better-commits - A CLI for creating better commits following the conventional commits specification
husky - Git hooks made easy 🐶 woof!
desk - A lightweight workspace manager for the shell
Brakeman - A static analysis security vulnerability scanner for Ruby on Rails applications
not-autotools - A collection of awesome and self-documented m4 macros for GNU Autotools
Pronto - Quick automated code review of your changes
detect-secrets - A developer-friendly secrets detection tool for CI and pre-commit hooks based on Yelp's detect-secrets
bullet - help to kill N+1 queries and unused eager loading
git-scribe - ✍️ AI copilot for crafting insightful Git commit messages
rails_best_practices - a code metric tool for rails projects