Replies: 3 comments 7 replies
-
@aviflat I think an option for this would be convenient, similar to |
Beta Was this translation helpful? Give feedback.
-
A short-term workaround would be to limit the directories passed in |
Beta Was this translation helpful? Give feedback.
-
I wonder if we could cache this to make it fast; the generated code also doesn't change very often in a steady state, and during development, the clj-kondo output can still be just as useful for identifying problems as it would be for other code. If not more, since it's a pile of macro code where the bigger gap between programmer and final code produced might result in more subtle bugs :) |
Beta Was this translation helpful? Give feedback.
-
I’m working on a project that contains 342 generated
.clj
files with 56032 LoC. This takes clj-kondo a while to lint; roughly 5–6 seconds. Whereas if I delete the subtree containing all that generated code, linting the rest of the code takes 35–40 milliseconds. I’ve got the path added to[:output :exclude-files]
inconfig.edn
but that only disables clj-kondo from outputting any problems it finds in the generated code. I’d prefer to speed up linting by having clj-kondo not lint the generated code at all.Is there any way to do this?
If not, might this be worth possibly adding as a feature?
Beta Was this translation helpful? Give feedback.
All reactions