Meteor Maxims- Chapter 1: Husky and the Git Precommit Hook

I walk through the first step forward in ensuring consistent developer experiences, setting up a git precommit hook to monitor code style. I use husky, the node package for managing git hooks.

I talk briefly about using package.json to do this instead of  gulp or grunt. Here are a couple of articles talking about this decision:
https://www.keithcirkel.co.uk/why-we-should-stop-using-grunt/
https://medium.freecodecamp.com/why-i-left-gulp-and-grunt-for-npm-scripts-3d6853dd22b8#.73bycnhfy

Some links about husky and git hooks:
http://elijahmanor.com/npm-precommit-scripts/
https://github.com/typicode/husky

Associated commits:
https://github.com/knathanieltucker/deeds/commit/5e7249a9d130ccddd69622c5c247d29a62f55965 
Git Hooks Part 1 - Getting Started

Git Hooks Part 1 - Getting Started

Git Hooks Part 1 - Getting Started


Git Hooks

Git Hooks

Git Hooks


Git Hooks Tutorial - Auto Deploy on Push

Git Hooks Tutorial - Auto Deploy on Push

Git Hooks Tutorial - Auto Deploy on Push


Jenkins and Github Post Commit Hooks

Jenkins and Github Post Commit Hooks

Jenkins and Github Post Commit Hooks


Git deploy to staging server using post-receive hook

Git deploy to staging server using post-receive hook

Git deploy to staging server using post-receive hook


Linting Sass, Javascript y Precommit Rules

Linting Sass, Javascript y Precommit Rules

Linting Sass, Javascript y Precommit Rules


What a Begging Husky Looks Like!

What a Begging Husky Looks Like!

What a Begging Husky Looks Like!


VSCode Tutorials #6 - Linting with ESLint

VSCode Tutorials #6 - Linting with ESLint

VSCode Tutorials #6 - Linting with ESLint


Cleaning up Code with Eslint - Spacedojo Code Kata

Cleaning up Code with Eslint - Spacedojo Code Kata

Cleaning up Code with Eslint - Spacedojo Code Kata