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?
Ah, I knew there would be a macro that did this... https://github.com/technomancy/leiningen/blob/40227328d4a9c8945362d6d626d19c2449175df6/leiningen-core/src/leiningen/core/project.clj#L203
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.Thanks! 🙏 https://github.com/clj-kondo/clj-kondo/issues/2695
A local ignore hint could also work for now