This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-08
Channels
- # architecture (8)
- # aws (25)
- # babashka (9)
- # beginners (57)
- # calva (16)
- # cider (16)
- # clj-kondo (3)
- # cljdoc (13)
- # cljsrn (6)
- # clojure (272)
- # clojure-europe (36)
- # clojure-losangeles (1)
- # clojure-nl (8)
- # clojure-poland (3)
- # clojure-spec (4)
- # clojure-uk (8)
- # clojuredesign-podcast (9)
- # clojurescript (92)
- # code-reviews (1)
- # conjure (8)
- # core-async (1)
- # cursive (13)
- # datalog (1)
- # datascript (35)
- # datomic (76)
- # duct (10)
- # emacs (5)
- # events (7)
- # figwheel-main (1)
- # fulcro (35)
- # graalvm (20)
- # graphql (6)
- # jobs (3)
- # klipse (1)
- # london-clojurians (1)
- # malli (3)
- # off-topic (223)
- # pathom (2)
- # pedestal (13)
- # portal (1)
- # reitit (6)
- # remote-jobs (1)
- # shadow-cljs (21)
- # specter (2)
- # sql (63)
- # tools-deps (85)
- # tree-sitter (4)
- # xtdb (6)
Follow up idea on #992: https://github.com/clj-kondo/clj-kondo.configs/blob/master/README.md#installation
I'm currently (re)searching a solution to the following:
Clj-kondo will support :config-paths
in the next release which is a list of directories with additional config.
This opens up the possibility of a tool that scans your classpath for library specific clj-kondo configs, spits them out to directories in .clj-kondo, so clj-kondo can pick up on those.
What should be the directory structure in which libs bundle their clj-kondo config?
E.g. a library repo could have:
resources/clj-kondo-config/rum/rum/config.edn
resources/clj-kondo-config/rum/rum/hooks/*.clj
and a tool would scan the classpath, detect all the clj-kondo/*/*
directories, spit them out to:
$project/.clj-kondo/configs/rum/rum/config.edn
$project/.clj-kondo/configs/rum/rum/hooks/*.clj
and clj-kondo will implicitly add configs/*/*
to the :config-paths
.
If anyone sees a problem with this or has other ideas, I'd like to hear them. This is for #992.