clj-kondo

2026-05-01T15:15:36.223639Z

is it possible to make clj-kondo not copy configs from the repo's resources/clj-kondo.exports folder? i have :config-paths ["../resources/clj-kondo.exports/this-repo"] in my .clj-kondo/config.edn and when i run clj-kondo --copy-configs, they appear in .clj-kondo/imports which means they're doubled up (and can get out of sync when i'm editing hooks)

✅ 1
2026-05-01T15:17:23.409169Z

"just don't run --copy-configs" i use clojure-lsp, which does it automatically

borkdude 2026-05-01T15:17:23.630249Z

yes, not use --copy-configs :)

😄 1
borkdude 2026-05-01T15:17:51.733399Z

or exclude that from the clojure-lsp classpath

borkdude 2026-05-01T15:17:57.587499Z

somehow

2026-05-01T15:19:48.333589Z

it seems to me that the benefit of copy-configs is to avoid the cost of opening jars to find configs. in this case, the :config-paths aren't pointing to jars, so should they be copied?

borkdude 2026-05-01T15:20:36.539669Z

configs don't just come from jars

borkdude 2026-05-01T15:21:08.146849Z

I'm hoping to avoid the copying later this year when clj-kondo gets a configuration which makes clear what the dependencies and local sources are

👀 1
borkdude 2026-05-01T15:21:16.496619Z

so it'll be addressed eventually

2026-05-01T15:21:20.896369Z

okay, cool

2026-05-01T15:21:37.661369Z

that's great news. i won't open any github issues about this and trust the process

borkdude 2026-05-01T15:22:14.039819Z

first .. bb conf :)

👀 1