Hi there, say I have with-db-transaction
called this way jdbc/with-db-transaction [tx (:spec db) {:isolation :repeatable-read}]
- how would I go in linting it so that it detects the last option map?
I see this PR here
https://github.com/clj-kondo/clj-kondo/pull/823/files
I am checking if I can use it as well (using clojure.java.jdbc
)
ok never mind, it turns out I had a {clojure.java.jdbc/with-db-transaction clojure.core/let}
and the above is built in so I just removed it
Does the current implementation of these macro analyzers not cover all usages?
it does - see my above answer, I had miss-configured my config.edn
thanks for checking in 😉
In this blogpost about our bootstrapped CI i show how we directly tap into Clj-kondo from a notebook for our CI linting https://nextjournal.com/blog/ci
@helios Nice incremental approach. > This is not something that couldn't have been achieved with a traditional CI and a bit of Bash scripting Since you are bringing up bash: also possible using babashka and the clj-kondo pod btw hehe
But if you are running a JVM for testing anyway, yeah, why not run clj-kondo as part of it :)
@helios Maybe worth adding a link in ci-integration.md about this article