Open lyallcooper opened 5 months ago
Apologies, on closer inspection of the clj-kondo docs it seems like this won't magically fix the errors without downstream users still having to the incantation of:
$ clj-kondo --lint "$(clojure -Spath)" --dependencies --parallel --copy-configs
Which as far as I can tell is the same as the current situation 😕
However, this still might be an improvement over the status quo since IMHO it's a little clearer to put the lint instructions with the functions than it is to have them buried in a separate config file.
Versions of clj-kondo since
2023.03.17
support inline macro configuration. We can use this to prevent annoying linting errors from popping up when usingdefcomponent
etc. without having to add anything to our clj-kondo config.I'm not sure I've chosen the best config options here though, so please double check them.