Is there a linter to flag unnecessary parens, like (-> x (fizz) (:foo) (first) (frob))?
Thatβs funny because if there was a linter for this, Iβd want it to do the opposite and flag optional parens thatβs are MISSING
The https://github.com/bbatsov/clojure-style-guide?tab=readme-ov-file#threading-macros-and-optional-parentheses them, but as long as the project is consistent I could see options to go either way.
imo this is one of the cases where clojure (and the style guide) gets it wrong π
I agree with the guide, but to each their own. Back to the original question, is there such a linter option? I read through the docs but don't see one.
ya i'm not seeing one either, sorry π
cljfmt might have something for that?
> this is one of the cases where clojure (and the style guide) gets it wrong this kind of thing is why i wish "the" style guide wasn't named such that it sounds like an official one true way. (sorry to continue the derail, Mark)