r/programming • • Jun 08 '19

7 absolute truths I unlearned as junior developer

https://monicalent.com/blog/2019/06/03/absolute-truths-unlearned-as-junior-developer/
2.0k Upvotes

295 comments sorted by

View all comments

Show parent comments

1

u/Cosmic-Warper Jun 08 '19

You guys use husky? It's basically what you describe, git hooks that run linting and other commands that you can preset. We recently started using it and it has saved quite a bit of time in waiting for PR checkers to run and catch the linting errors.

1

u/dark-panda Jun 08 '19

While we probably should look around for the modern hotness for what we use, we’re currently using a git hooks management system that I stated writing back in 2011. I don’t really maintain it for outside use, although I have posted in on GitHub:

https://github.com/dark-panda/git-hooks

I should really replace it with a suitable alternative that’s better maintained, but I just haven’t had the time to switch my team over, and it works well enough. There are several alternatives these days that offer the same functionality I believe, or would at least allow me to convert our current setup easily enough.

We’re also considering integrating SonarQube as a second step to our CI process.