Fork me on GitHub
#clj-kondo
<
2020-05-05
>
dominicm13:05:27

suggestion:

(let [foo 10
      _ (side-effect!)]
  ...)
to be
(let [foo 10]
  (side-effect!))

👍 4
dominicm13:05:56

tail position of let shouldn't be used for side effects, only for inbetween options.

gerred14:05:48

@seancorfield don't I owe you something on linter-kondo?

seancorfield15:05:58

@gerred Yup. To add support for :info level responses.

gerred15:05:47

I'll do it this week, sorry, busy past few weeks.

seancorfield15:05:17

No rush! Changing a couple of linters to run at :info level instead of :warning is fairly far down my list 🙂