Closed hugoduncan closed 2 years ago
@hugoduncan Can you explain why this change is needed? I thought default-directory already is the working directory of the buffer, by default?
Um, you seem to be right. Something is causing cli-kondo not to find the project config, and re-evaluating the checker definition seems to fix the problem. I'm stumped at the moment.
Set the working directory to the directory of the current buffer. This allows clj-kondo to find any project specific config.