npm install --global standard snazzy # Will install STANDARD (Linter) and SNAZZY (Linter results beautifier)
Go in project root folder (the one who contains .git folder) then type
$ curl -o \
.git/hooks/pre-commit \
https://gist.githubusercontent.com/benftwc/cfddb50b61f4d7c9a6cb244d578342f2/raw/8560d9f61daf4def4cc31ccc942e77a5efb8bdc9/pre-commit.sh \
&& chmod u+x .git/hooks/pre-commit