A useful pre-commit hook for ionic 2 source code


201.0.35 years ago5 years agoMinified + gzip package size for @ionic/commit-hooks in KB


What is it?

Runs the test for Ionic 2.

Note: This module is simply a wrapper around git-validate.

WARNING: If you already have a .git/hooks/pre-commit file, this package will overwrite it.

Why should I use it?

No one likes a messy code base. When working on a team, it becomes more and more difficult to make sure that your project's code stays consistent and error free. Since the hook can lint all of the project's code, based on your configuration, you can be sure that at the very least standards are being followed. It can also run build steps, unit tests, or any other script you like.

Having a tool that automates this process has been priceless for us, and has very much improved the quality of our code.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.