Hello, I'm trying to configure macros in one project with
(defmacro foo
{:clj-kondo/ignore [:unresolved-symbol :type-mismatch]}
...)
which is imported into another local project using deps.edn (either :local/root or git), but the second project is not picking up the inline config and it's giving me linter errors when using the macro foo. Any ideas how I can debug this?If I'm reading the docs correctly, you need to either lint this namespace when you lint the second project, or include the automatically generated inline-configs config to the jar of the first project.
First check if you have .clj-kondo/inline-configs in your first project
and then if it appears in the first project's jar
if it does, then try running --copy-configs in your second project.
there should be a .clj-kondo/inline-configs entry now in your second project.
And the other approach, I think, is to explicitly add foo's namespace to the clj-kondo command when you call it in the second project. That will at least warn if it can't find it.