husky
simple-git-hooks
Our great sponsors
husky | simple-git-hooks | |
---|---|---|
124 | 5 | |
31,506 | 1,201 | |
- | - | |
8.8 | 7.3 | |
15 days ago | 22 days ago | |
JavaScript | JavaScript | |
MIT License | 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.
husky
-
Streamline Your Workflow: Setting Up Git Hooks with Husky to Simplify Version Updates
Dive deeper into the world of Husky with the official documentation. Explore the capabilities of Standard Version through its comprehensive documentation. Unravel the mysteries of semantic-release with its detailed documentation. Discover the versatility of bumpp with its comprehensive documentation.
-
Git Project Configuration With Husky and ESLint
Let’s walk through the steps for a one-time setup to configure husky pre-commit and pre-push hooks, ESLint with code styles conventions, prettier code formatter, and lint-staged. Husky automatically runs a script on each commit or push. This is useful for linting files to enforce code styles that keeps the entire code base following conventions.
- Padronizando seu código através dos Git Hooks
- Angular 14 + Prettier + Husky Setup
-
How Automation Saved Me from Oops Moments: Never Skip Tests in Production Again!
We were already using lint-staged and have a pre-commit hook in place using Husky in our project for linter and prettier. So it made sense to add a check here.
- Pre-commit with husky & lint-staged
-
How to Improve Development Experience of your React Project
Now, let's talk about Husky. It's a wonderful tool that enables you to run scripts on any Git hooks. We'll add a pre-commit hook to run ESLint and Stylelint checks before committing. This ensures that we don't commit code with errors.
- Como adicionar hooks aos commits de seu projeto utilizando Husky
-
My script to install husky, commitlint and lint-staged with zx
In all my projects I use husky, lint-staged and commitlint.
-
Joys and woes of monorepos
One of the greatest things about a monorepo is that you can centralise a lot of tooling configuration. For example, chuck a .prettierrc in the root of your monorepo and you'll never have arguments about code style again. Put a few base tsconfigs in the there to extend, and suddenly TypeScript behaves with beautiful consistency across all your packages. Add formatting, linting and husky as dependencies in the root of your workspace and you no longer need to work through upgrading everything individually when a new version comes out.
simple-git-hooks
-
Cypress installation with Mochaversome reporter with fail test screenshots. Fix viewport screen size in headless mode.
Install simple-git-hooks package if not used on the project. If this package or an analogue, for example, husky, skip this point. We will move on to the configuration in the next section.
-
How to add ESlint, Prettier, and Husky (Git Hook) to your React application
A good alternative for Husky is simple-git-hooks (https://github.com/toplenboren/simple-git-hooks) which works much like the old Husky.
- I've replaced husky with simple-git-hooks
- simple-git-hooks: pre-commit hook manager with 0 dependencies and great performance
- simple-git-hooks: pre-commit hook manager with 0 dependencies, great performance, and without license problems (in contrast with husky 5)
What are some alternatives?
lerna - :dragon: Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
detect-secrets - A developer-friendly secrets detection tool for CI and pre-commit hooks based on Yelp's detect-secrets
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
pinst - 🍺 dev only postinstall hooks (package.json)
standard-version - :trophy: Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org
npm-run-all - A CLI tool to run multiple npm-scripts in parallel or sequential.
prettier - Prettier is an opinionated code formatter.
pre-commit-rust - Rust hooks for pre-commit
pretty-quick - ⚡ Get Pretty Quick
Cypress-with-Mochawesome-reporter
commitlint - 📓 Lint commit messages
githook-lint-staged-example - Git 2.9+(`core.hooksPath`) + Lint Staged without extra dependencies.