promesa
promesa copied to clipboard
lint for go-loop macro
Currently when using go-loop, kondo will throw an error similar to the image below because it is not treated as the loop macro.
As far as I know the fix is to add a go-loop entry to the lint-as map
;; file: resources/clj-kondo.exports/funcool/promesa/config.edn
{:lint-as {promesa.core/-> clojure.core/->
promesa.core/->> clojure.core/->>
promesa.core/as-> clojure.core/as->
promesa.core/let clojure.core/let
promesa.core/plet clojure.core/let
promesa.core/loop clojure.core/loop
promesa.exec.csp/go-loop clojure.core/loop ;; this is the new addition
promesa.core/recur clojure.core/recur
promesa.core/with-redefs clojure.core/with-redefs
promesa.core/doseq clojure.core/doseq}}