This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-21
Channels
- # aleph (7)
- # beginners (79)
- # calva (1)
- # cider (5)
- # clj-kondo (12)
- # clojure (7)
- # clojure-austin (1)
- # clojure-brasil (2)
- # clojure-chicago (1)
- # clojure-europe (2)
- # clojure-seattle (4)
- # clojurescript (68)
- # data-science (1)
- # datavis (1)
- # figwheel-main (2)
- # hoplon (2)
- # juxt (1)
- # leiningen (3)
- # luminus (8)
- # off-topic (65)
- # onyx (1)
- # pathom (12)
- # reagent (6)
- # reitit (3)
- # shadow-cljs (7)
- # spacemacs (5)
clj-kondo gives me unresolved symbol
warnings for symbols I'm trying to define with compojure.core/defroutes
. how do I teach clj-kondo that defroutes
is actually defining a var, so it knows not to warn either at the point of definition nor in subsequent usages of the var? same with rum.core/defc
and many others
@euccastro https://github.com/borkdude/clj-kondo/blob/master/doc/config.md#lint-a-custom-macro-like-a-built-in-macro
thanks @borkdude! alas, I tried just that and it didn't seem to work. I'm using spacemacs; maybe that sets some config in --config
that overrides my ~/.clj-kondo/config.edn
?
@euccastro clj-kondo picks the first .clj-kondo directory up from your working directory, so maybe there is another one in the way?
thanks! yes, I had a project-specific .clj-kondo that was being picked up instead. copying the config.edn there worked!