clj-kondo

https://github.com/clj-kondo/clj-kondo
dominicm 2020-05-05T13:22:27.097600Z

suggestion:

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

👍 1
dominicm 2020-05-05T13:22:56.097700Z

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

2020-05-05T14:15:48.098Z

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

seancorfield 2020-05-05T15:06:58.098500Z

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

2020-05-05T15:17:40.098700Z

ohh yes

2020-05-05T15:17:47.098900Z

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

seancorfield 2020-05-05T15:50:17.099600Z

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