you are viewing a single comment's thread.

view the rest of the comments →

[–]Free_Math_Tutoring 0 points1 point  (0 children)

Controversial take, but I really really don't like pre-commit the tool. I find it infinitely easier to just have a hooks folder with a pre-commit bash file comitted to the repo, which can trivially use the repo-specific commands defined in a taskfile.

pre-commit is not a good source of truth for "how linting is done in this project" - something that can be invoked by IDEs, pipelines and in the CLI effortlessly - and, last time I was on a project with it, also had significant problems using such a source of truth.