This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-01
Channels
- # atom-editor (11)
- # babashka (25)
- # beginners (142)
- # boot (9)
- # calva (3)
- # cider (19)
- # clara (15)
- # clj-kondo (6)
- # cljs-dev (20)
- # clojars (11)
- # clojure (164)
- # clojure-dev (9)
- # clojure-europe (6)
- # clojure-italy (17)
- # clojure-nl (3)
- # clojure-spec (19)
- # clojure-sweden (10)
- # clojure-uk (23)
- # clojurescript (34)
- # code-reviews (31)
- # conjure (20)
- # cursive (14)
- # datomic (54)
- # emacs (1)
- # fulcro (51)
- # graalvm (24)
- # graphql (6)
- # helix (3)
- # jobs (3)
- # kaocha (1)
- # malli (2)
- # meander (15)
- # off-topic (81)
- # pathom (2)
- # re-frame (43)
- # reagent (26)
- # reitit (1)
- # releases (1)
- # sci (12)
- # shadow-cljs (29)
- # sql (22)
- # timbre (3)
- # tools-deps (15)
@borkdude I'm trying to deploy a new version of the clj-kondo skill with support for running hooks. But I think that borkdude/clj-kondo:latest
has version clj-kondo v2020.06.12
and that does not have support for hooks yet, right?
Also, I think this is a quick question. My current understanding of hooks is that the config.edn {:hooks {:analyze-call {macro-symbol hook-symbol}}}
could be merged from anywhere so as long as I can get that data into command line --config
it should be available to clj-kondo. However, the code for the hook itself has to be in the :cfg-dir
so that it can be required. Looking at the code, maybe it could also be slurped if we were to use a form like {:hooks {:analyze-call {macro-symbol "my/hook.clj"}}}``. I've only been trying to do this with symbols so far but I want to confirm my understanding that the
:cfg-dir
plays a crucial role here. I guess that's .clj-kondo by default.
@slimslenderslacks 2020.06.21 is the latest version, includes hooks
Sorry, what I really had meant to ask was about the docker image currently tagged latest
But looking closer, it seems like that's on 2020.06.21 as well. So that should have hooks support.