This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-24
Channels
- # announcements (30)
- # asami (9)
- # babashka (37)
- # beginners (120)
- # calva (26)
- # cider (3)
- # clara (9)
- # clj-commons (7)
- # clj-kondo (17)
- # cljsrn (2)
- # clojure (32)
- # clojure-europe (56)
- # clojure-nl (1)
- # clojure-norway (13)
- # clojure-uk (4)
- # clojurescript (34)
- # conjure (1)
- # copenhagen-clojurians (8)
- # core-async (21)
- # cursive (2)
- # datahike (2)
- # datascript (5)
- # events (4)
- # fulcro (32)
- # graalvm (10)
- # heroku (3)
- # introduce-yourself (1)
- # jobs (2)
- # lsp (3)
- # luminus (1)
- # malli (8)
- # meander (15)
- # minecraft (1)
- # nrepl (2)
- # off-topic (57)
- # pathom (2)
- # polylith (35)
- # reagent (6)
- # reitit (8)
- # releases (1)
- # rewrite-clj (7)
- # shadow-cljs (21)
- # timbre (4)
- # tools-build (1)
- # tools-deps (33)
- # vrac (8)
I'd like to know if clj-kondo can access config paths inside a config-path of a external lib, let me explain the case 🧵
At Nubank we have a lot of services using something lke this at each service:
{:config-paths ["nubank/a" "nubank/b" ...]} ; a lot more
we would like to centralize that in a dev lib that when bumped, it will already include all those config-paths. avoiding the need to update config-paths for each service, since we already have a bot that bump libs for all servicesso I'd like to have a lib that will have all the :config-paths
and then each service would just include a:
:config-paths ["nubank/base"]
I tried that, but clj-kondo is not finding the nubank.a
hooks because they are problably not in the same folder
The idea behind this is to have one simple config.edn that is common for all libs, instead configuring each one manually
the ~/.config/clj-kondo/config.edn
is not enough as users need to manually have that on their machines/CI
exactly, I'm not finding the correct one so and getting:
WARNING: file nubank/state_flow.clj not found while loading hook
for exampleyou can include the base config in a library and when this library is linted then the config is copied to your .clj-kondo folder
that's exactly what I want, probably some wrong relative config-paths, I'll double check the paths after the copy