This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-22
Channels
- # alda (2)
- # announcements (1)
- # babashka (32)
- # beginners (67)
- # calva (1)
- # cider (19)
- # clerk (11)
- # clj-commons (35)
- # clj-kondo (7)
- # cljsrn (2)
- # clojure (35)
- # clojure-europe (86)
- # clojure-nl (5)
- # clojure-norway (5)
- # clojure-russia (6)
- # clojurescript (16)
- # clr (21)
- # conjure (1)
- # core-async (10)
- # cryogen (1)
- # cursive (12)
- # data-science (1)
- # emacs (29)
- # events (4)
- # figwheel-main (2)
- # graalvm (9)
- # gratitude (7)
- # honeysql (4)
- # hugsql (3)
- # hyperfiddle (23)
- # jobs (1)
- # jobs-discuss (4)
- # joyride (9)
- # malli (2)
- # off-topic (81)
- # portal (7)
- # reagent (19)
- # reitit (1)
- # releases (4)
- # shadow-cljs (121)
- # xtdb (3)
Hi, I’ve defined a few hooks in some repo configs and now would like to export them. What’s the correct way to set them up so they can still be used within the project itself? Do I still need to “copy-configs” to the repo’s .clj-kondo/ or can it be configured to find them in the exported resources location to avoid the duplication? I’ve searched through here and looked at the docs but haven’t had luck.
@UNNNQBC7N You can do this by adding :config-paths ["../resources/clj-kondo.exports/your.org/your.lib"]
in your .clj-kondo/config.edn
@UNNNQBC7N No worries, this is a common question and perhaps the documentation isn't clear on this. Feel free to PR some clarifications
I created an example of how to make an AST from clj-kondo analysis and rewrite-clj: https://github.com/clj-kondo/clj-kondo/tree/master/analysis#ast
@U0FR82FU1 I think you asked about a similar thing once.