Alt
Indiana Jones swapping out an artifact for a fake one meme template with the text “existing code” on the real artifact, “new commit” on the fake one, and “linter” on the pedestal / trap
Indiana Jones swapping out an artifact for a fake one meme template with the text “existing code” on the real artifact, “new commit” on the fake one, and “linter” on the pedestal / trap
Why linter? I hope your CI has more than just linting turned on
The idea for the meme came to me regarding contributing to a project for the first time. It’s not like I will push trash code, but if I accidentally didn’t add exactly two newlines between something and it starts complaining…
If there’s a linter with such opinionated rules there should also be a pre-commit hook that auto-formats accordingly.
Or on save even. Slow pre commit hooks suckkkk
That’s up to each individual developer’s own setup. But hooks are a way to ensure uniformity since they apply to all commits.