This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-28
Channels
- # anglican (2)
- # announcements (2)
- # babashka (41)
- # babashka-circleci-builds (1)
- # beginners (45)
- # brompton (2)
- # calva (13)
- # cider (13)
- # clj-kondo (14)
- # cljsrn (6)
- # clojure (60)
- # clojure-europe (4)
- # clojure-nl (3)
- # clojurescript (1)
- # code-reviews (3)
- # conjure (2)
- # cryogen (5)
- # datomic (22)
- # fulcro (13)
- # graalvm (19)
- # introduce-yourself (1)
- # kaocha (2)
- # leiningen (2)
- # lsp (1)
- # malli (4)
- # meander (1)
- # music (1)
- # news-and-articles (2)
- # off-topic (17)
- # polylith (6)
- # practicalli (2)
- # react (15)
- # reactive (1)
- # reagent (8)
- # reitit (2)
- # releases (1)
- # rum (10)
- # shadow-cljs (6)
- # spacemacs (4)
- # sql (2)
- # tools-deps (4)
- # xtdb (21)
How do I make Calva understand some def*
macro declares a symbol instead of making my whole file red?
@pepijndevos We should document this, but basically you configure clj-kondo to treat those macros the same as def
or whatever is the closest match.
@pepijndevos In .clj-kondo/config.edn
: {:lint-as {your.ns/your-def clojure.core/def}}
awesome thanks
Amazing, it works
@pepijndevos you can find the config docs here: https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md
Hm well that joy was short lived, as the Rum macro has some weird extras before the argument list that throws of the rest. Is def-catch-all
what I want here?
@pepijndevos You can find a config for rum here: https://github.com/clj-kondo/config
I see...