That's been suggested as a external tool that takes the output, as to not bloat the main binary.
Carve is one of the tools that does rewriting based on clj-kondo output: https://github.com/borkdude/carve
if -> when is a simple transformation, but there are many that aren't so obvious
Carve is super handy.
Kibit might provide some inspiration, https://github.com/jonase/kibit
It's not so much a matter that it's not possible, it's just not something I find very important. The scope of clj-kondo is already big enough to spend time on existing issues in the backlog.
Tools like clojure-lsp may pick up on clj-kondo's output and do it as part of the editor functionality for example
I might change my mind on this in the future, but right now it's not on the radar.
As a flycheck user myself, it would be nice if I could train it to solve common errors in a way I specify
I've seen people write elisp based on the flycheck output
https://github.com/neomake/neomake/pull/2516 will update clj-kondo docs following this being merged. :)
what's this?
Vim linter, I'm adding upstream support.
cool!
(tired of having the config in my files)
hi, I just saw this:
npm audit
npm ERR! code ELOCKVERIFY
npm ERR! Errors were found in your package-lock.json, run npm install to fix them.
npm ERR! Invalid: lock file's clj-kondo@2020.1.13 does not satisfy clj-kondo@2020.01.13
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ieugen/.gradle/caches/npm/_logs/2020-12-18T18_20_59_575Z-debug.log
@eugen.stan I'm not sure what this is. I don't maintain the npm package, but you could try post an issue at https://github.com/filipesilva/clj-kondo. He will probably suggest that you upgrade it
thanks, will contact him. is the output of npm audit. Running npx npm-check-updates shows I am up to date
I did upgrade just now and everything is ok, strange that the update was not visible with the npm-check-updates
thanks again
If you are using the VSCode plugin, consider leaving a review: https://marketplace.visualstudio.com/items?itemName=borkdude.clj-kondo It's been downloaded 30k+ times but it has only 3 reviews :)