sweetlikekendy / commit-hooks-javascript

Commit hooks with JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript - Commit Linting with Unit Testing

Basic example repository to set-up huksy with commitlint and jest for unit testing.

Set-up guide

# install node modules
npm install

After you staged your changes and commit, unit tests will run, then commitlint. If either fail, then the commit will not go through until the errors have been resolved.

About

Commit hooks with JavaScript


Languages

Language:JavaScript 83.1%Language:Shell 16.9%