Fork me on GitHub
#clj-kondo
<
2024-01-22
>
Noah Bogart16:01:48

Is it possible to have a directory-level config that is applied on top of the repo-level config? For example:

.clj-kondo/config.edn
src/foo/.clj-kondo/config.edn
src/bar
where the config nested in src/foo only applies to namespaces in foo.* and not bar.*

borkdude16:01:45

Possible as in currently: no There is however :config-in-ns

👍 1
Noah Bogart16:01:07

We make liberal use of that right now, which is great. very helpful

borkdude16:01:54

it is possible to create an :ns-group with a regex and then use that name in :config-in-ns

Noah Bogart16:01:28

ooooo yes, that'll work i think