Fork me on GitHub
#clj-kondo
<
2019-12-16
>
borkdude19:12:28

Any idea what's going on?

delaguardo08:12:30

According to documentation create-check-run should not be triggered from the push to the branch in a forked repository. Will try to find a workaround

delaguardo20:12:16

Can't check right now. Already away from the keyboard. Will check that tomorrow morning.

borkdude20:12:55

no hurry 🙂

manderson20:12:43

Any suggestions on how best to handle linter errors/warnings when using next.jdbc/with-transaction ? One would think to lint-as clojure.core/with-open, however this doesn’t work because with-transaction supports an odd number of arguments in the initial vector and so you get uneven forms error. Example usage:

(next.jdbc/with-transaction [conn datasource options-map]
  ;; do stuff with conn
  )

borkdude20:12:36

hmm, maybe just ignore the name conn with {:linters {:unresolved-symbol {:exclude [(next.jdbc/with-transaction [conn])]}}}

borkdude20:12:51

and if that's not sufficient, ignore all symbols by just leaving out the vector

manderson20:12:09

Ha, great minds! Looked away from Slack to read your documentation more and landed on this same approach 🙂 Thanks for the help and for a great tool!