This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-05-23
Channels
- # announcements (29)
- # babashka (6)
- # beginners (55)
- # biff (4)
- # clj-kondo (5)
- # clojure (162)
- # clojure-austin (2)
- # clojure-europe (38)
- # clojure-nl (1)
- # clojure-norway (9)
- # clojure-sweden (2)
- # clojure-uk (10)
- # clojuredesign-podcast (5)
- # clojurescript (7)
- # conjure (8)
- # core-async (4)
- # cursive (34)
- # datahike (13)
- # datomic (9)
- # fulcro (5)
- # holy-lambda (2)
- # honeysql (1)
- # hugsql (3)
- # hyperfiddle (22)
- # jobs (5)
- # london-clojurians (1)
- # malli (2)
- # matrix (3)
- # off-topic (32)
- # pedestal (26)
- # polylith (18)
- # reitit (5)
- # releases (1)
- # ring (29)
hi friends, i've a multi-project repo and want to share hooks across all the projects. so eg i want to add a hook to multi-project-root/.clj-kondo/hooks
and configure a project under eg multi-project-root/project-a
use the hook. how do I do this?
hello friend! you can do so by adding to each project's .clj-kondo/config.edn
:
:config-paths ["../../.clj-kondo"]
they are set up that way already, and while other parts of the common config.edn
file are being respected, the hook part isn't. Though actually there is a slight deviation, and maybe that's the problem: the common config.edn is under multi-project-root/.clj-kondo/common/config.edn
, so perhaps i need to move that to multi-project-root/.clj-kondo/config.edn
and update the rest of the config.edn's as you suggest