Search posts, tags, users, and pages
Pankaj Patel
Great article Jarrod, the pre-commit script looks really good.
Though I would also suggest to checkout lint-staged package.
Husky+LintStaged will allow you to configure commit hooks right from package.json
Keep up the good writing.
Jarrod Watts
Thanks for the tip Pankaj! Yeah a little problem with the set up i described is that it checks what you've changed not what you are committing. Great tip!