clj-kondo

https://github.com/clj-kondo/clj-kondo
dominicm 2020-12-18T09:01:04.181300Z

That's been suggested as a external tool that takes the output, as to not bloat the main binary.

borkdude 2020-12-18T09:26:03.182100Z

Carve is one of the tools that does rewriting based on clj-kondo output: https://github.com/borkdude/carve

1👀
borkdude 2020-12-18T09:26:44.182900Z

if -> when is a simple transformation, but there are many that aren't so obvious

Oliver George 2020-12-18T09:31:02.184400Z

Carve is super handy.

tvaughan 2020-12-18T10:52:13.185300Z

Kibit might provide some inspiration, https://github.com/jonase/kibit

borkdude 2020-12-18T10:56:05.186300Z

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.

borkdude 2020-12-18T10:57:34.186900Z

Tools like clojure-lsp may pick up on clj-kondo's output and do it as part of the editor functionality for example

borkdude 2020-12-18T10:58:45.187300Z

I might change my mind on this in the future, but right now it's not on the radar.

tvaughan 2020-12-18T11:00:34.189400Z

As a flycheck user myself, it would be nice if I could train it to solve common errors in a way I specify

borkdude 2020-12-18T11:02:09.189600Z

I've seen people write elisp based on the flycheck output

dominicm 2020-12-18T14:59:01.189800Z

https://github.com/neomake/neomake/pull/2516 will update clj-kondo docs following this being merged. :)

borkdude 2020-12-18T15:00:01.190100Z

what's this?

dominicm 2020-12-18T15:15:22.190500Z

Vim linter, I'm adding upstream support.

borkdude 2020-12-18T15:17:08.190700Z

cool!

dominicm 2020-12-18T17:24:10.190800Z

(tired of having the config in my files)

Eugen 2020-12-18T18:22:11.191500Z

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

borkdude 2020-12-18T18:39:49.192400Z

@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

Eugen 2020-12-18T18:40:48.193400Z

thanks, will contact him. is the output of npm audit. Running npx npm-check-updates shows I am up to date

Eugen 2020-12-18T18:43:28.194100Z

I did upgrade just now and everything is ok, strange that the update was not visible with the npm-check-updates

Eugen 2020-12-18T18:43:33.194300Z

thanks again

borkdude 2020-12-18T22:47:46.194500Z

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 :)

5👍