clj-kondo 2025-12-25

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?

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

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.

A local ignore hint could also work for now