husky - :dog: Git hooks made easy

  •        330

By default, husky expects your project's package.json and your .git directory to be at the same level. It can be configured to support monorepos or sub-directories.Check documentation for more.

https://github.com/typicode/husky#readme

Dependencies:

cosmiconfig : ^4.0.0
execa : ^0.9.0
is-ci : ^1.1.0
pkg-dir : ^2.0.0
pupa : ^1.0.0
read-pkg : ^3.0.0
run-node : ^0.2.0
slash : ^1.0.0

Tags
Implementation
License
Platform

   




Related Projects

pre-commit - Automatically installs a git pre-commit script in your git repository which runs your `npm test` on pre-commit

  •    Javascript

pre-commit is a pre-commit hook installer for git. It will ensure that your npm test (or other specified scripts) passes before you can commit your changes. This all conveniently configured in your package.json. But don't worry, you can still force a commit by telling git to skip the pre-commit hooks by simply committing using --no-verify.

precommit-hook - An npm installable git pre-commit hook used to lint and test your code

  •    Javascript

This module is a handy little tool that I wrote to help enforce code quality in Node.js projects. It allows you to run any scripts defined in your package.json before a commit is made. Version 2.0.0 of this module (and the current master branch in this repository) has been updated to use git-validate, as such the configuration key in package.json will be changed to "pre-commit" with a dash, instead of the old "precommit". All other functionality should work the same.

pre-commit-hooks - Some out-of-the-box hooks for pre-commit

  •    Python

Some out-of-the-box hooks for pre-commit. If you'd like to use these hooks, they're also available as a standalone package.

safe-commit-hook - pre-commit hook for Git that checks for suspicious files.

  •    Python

This is a git pre-commit hook that is inspired by the Gitrob project. They are currently in JSON format at ~/.safe-commit-hook/git-deny-patterns.json.

pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.

  •    Python

A framework for managing and maintaining multi-language pre-commit hooks.


puppet-git-hooks - Git client and server side hooks for puppet development

  •    Shell

Git hooks to assist puppet module development. Client side hooks allow for various checks before commits are staged. Server side hooks are provided for infrastructural reinforcement of various standardization compliances. In your git repository you can symlink the pre-commit file from this repository to the .git/hooks/pre-commit of your repository you want to implement this feature.

pre-commit - A slightly improved pre-commit hook for git

  •    Javascript

A slightly improved pre-commit hook for git

fit-commit - A Git hook to validate your commit messages based on community standards.

  •    Ruby

A Git hook to validate your commit messages based on community standards. This creates a .git/hooks/commit-msg script which will automatically check your Git commit messages.

financial-demo - A demo for a financial services bot

  •    Python

This is an example chatbot demonstrating how to build AI assistants for financial services and banking. This starter pack can be used as a base for your own development or as a reference guide for implementing common banking-industry features with Rasa. It includes pre-built intents, actions, and stories for handling conversation flows like checking spending history and transferring money to another account. With pre-commit installed, the black and doctoc hooks will run on every git commit. If any changes are made by the hooks, you will need to re-add changed files and re-commit your changes.

captainhook - Very flexible git hook manager for php developers

  •    PHP

CaptainHook is an easy to use and very flexible git hook library for php developers. It enables you to configure your git hook actions in a simple json file. You can use CaptainHook to validate or prepare your commit messages, ensure code quality or run unit tests before you commit or push changes to git. You can automatically clear local caches or install the latest composer dependencies after pulling the latest changes.

cz-cli - The commitizen command line utility.

  •    Javascript

When you commit with Commitizen, you'll be prompted to fill out any required commit fields at commit time. No more waiting until later for a git commit hook to run and reject your commit (though that can still be helpful). No more digging through CONTRIBUTING.md to find what the preferred format is. Get instant feedback on your commit message formatting and be prompted for required fields. Now, simply use git cz instead of git commit when committing.

ansible-lint - Best practices checker for Ansible

  •    Python

ansible-lint checks playbooks for practices and behaviour that could potentially be improved. As a community backed project ansible-lint supports only the last two major versions of Ansible. Please read Contribution guidelines if you wish to contribute.

nbstripout - strip output from Jupyter and IPython notebooks

  •    Python

Opens a notebook, strips its output, and writes the outputless version to the original file. Useful mainly as a git filter or pre-commit hook for users who don't want to track output in VCS.

git-confirm - :question: Git hook to catch placeholders and temporary changes (TODO / @ignore) before you commit them

  •    Shell

Git hook to catch placeholders and temporary changes (TODO / @ignore) before you commit them. If you're security conscious, you may be reasonably suspicious of curling executable files. Here you're on HTTPS throughout though, and you're not piping directly to execution so you can check contents and the hash (against MD5 04baf1f87974681a92ee7fe8c0aa3aaa for v0.2.1) before using this, if you like.

dploy - An FTP/SFTP deployment tool built in node.js.

  •    CoffeeScript

DPLOY is an FTP/SFTP deployment tool built in node.js Uploads the latest changes by comparing the version on your server with your git repository. Will install the dploy.yaml file and set up a post-commit script on your .git/hooks folder so you can DPLOY from your commit message as well.

Subversion-to-web

  •    PHP

Subversion pre- or post-commit hook that can be used to copy committed files either on the same or a different server, via sftp or ftp.

Prettier - An opinionated code formatter.

  •    Javascript

Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary. Prettier can be run in your editor on-save, in a pre-commit hook, or in CI environments to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!

talisman - By hooking into the pre-push hook provided by Git, Talisman validates the outgoing changeset for things that look suspicious - such as authorization tokens and private keys

  •    Go

Talisman is a tool to validate code changes that are to be pushed out of a local Git repository on a developer's workstation. By hooking into the pre-push hook provided by Git, it validates the outgoing changeset for things that look suspicious - such as potential SSH keys, authorization tokens, private keys etc. The aim is for this tool to do this through a variety of means including file names and file content. We hope to have it be an effective check to prevent potentially harmful security mistakes from happening due to secrets which get accidentally checked in to a repository.

termit - Translations with speech synthesis in your terminal as a ruby gem

  •    Ruby

Termit is an easy way to translate stuff in your terminal. You can check out its node.js npm version normit.Idea by Nedomas. See and hear your messages translated to target lang every time you commit. You can do this two ways: overriding the git command, and using a post-commit hook in git.

churn - Providing additional churn metrics over the original metric_fu churn

  •    Ruby

File changes can be calculated on any single commit to look at method changes you need to be running churn over time. Using a git post-commit hook, configuring your CI to run churn. See the --past_history (-p) option to do a one time run building up past class and method level churn. Install with gem install churn or for bundler add to your Gemfile gem 'churn', require: false.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.