You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It'd be even better to add a shared pre-commit git hook, to reformat changed files before they are committed. It might take a bit of effort to get the tools setup, but it'll be easy to keep the code style uniform.
It's just one less thing to have to actively think about when working on the project. =)
The text was updated successfully, but these errors were encountered:
If multiple support this idea, and someone who has had good experience with one of these tools is willing to set this up, then and I'm willing to consider this. However I have to say that personally I don't like this approach at all.
I have seen linting or formatting in CI become a nuisance much more often than I found it to be helpful, and I prefer to put my energy in teaching people good habits than in fighting tools.
Okay. Not sure what kind of trouble you ran into in other projects. Just thought it will make contributing more straightforward for everyone. Both people who are working on and reviewing the code do not have to keep their eye on the style.
Let's keep the issue open for a bit to see if anybody else wants to chime in about this.
As mentioned in #18 (comment)
I think it will be very helpful to make use of
https://github.com/weavejester/cljfmt or
https://github.com/kkinnear/zprint
to help enforce the style guide.
It'd be even better to add a shared pre-commit git hook, to reformat changed files before they are committed. It might take a bit of effort to get the tools setup, but it'll be easy to keep the code style uniform.
It's just one less thing to have to actively think about when working on the project. =)
The text was updated successfully, but these errors were encountered: