clj-kondo

Yevgeni Tsodikov 2025-12-25T12:51:51.695549Z

Hey, the new :unquote-not-syntax-quoted seems to affect repos where the project.clj uses a shared (def common-version "1.2.3") between multiple dependencies. Example here from an older repo: https://github.com/evg-tso/cursive-shrink-issue/blob/master/project.clj See the usage of ~proto-version. How would you suggest resolving this issue?

jramosg 2025-12-25T13:11:41.849059Z

Maybe we can have a set of what macros must be excluded in config?

borkdude 2025-12-25T13:26:34.499639Z

Normally this should work for defproject:

:config-in-call {user/defproject {:linters {:unquote-not-syntax-quoted {:level :off}}}}
and for any other macro. Not sure why it doesn't work for defproject. Please file a Github issue and I'll look at it later. You can disable the linter for now.

Yevgeni Tsodikov 2025-12-25T13:47:24.392039Z

Thanks! 🙏 https://github.com/clj-kondo/clj-kondo/issues/2695

borkdude 2025-12-25T14:54:24.949299Z

A local ignore hint could also work for now