@pedalboard/git-hooks
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@pedalboard/git-hooks

A set of JS Git hooks

Installation

yarn

yarn add @pedalboard/git-hooks -D

npm

npm i @pedalboard/git-hooks -D

Usage

The hooks are meant to be used in a Git hook (e.g. pre-commmit, commit-msg, etc.).
To use the hooks under this package you need to make sure that your hooks are running in NodeJS env. Here is an example of such a hook:

#!/usr/bin/env node

const {conventionalCommitsValidationHook} = require('@pedalboard/git-hooks');
conventionalCommitsValidationHook.execute();

Hooks

Conventional Commits Validation Hook

This hook's purpose is to make sure all commit messages follow the conventional commits standard.

Readme

Keywords

none

Package Sidebar

Install

npm i @pedalboard/git-hooks

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

8.62 kB

Total Files

18

Last publish

Collaborators

  • mbarzeev