Fork me on GitHub
#clj-kondo
<
2020-12-18
>
dominicm09:12:04

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

borkdude09:12:03

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

👀 3
borkdude09:12:44

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

Oliver George09:12:02

Carve is super handy.

tvaughan10:12:13

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

borkdude10:12:05

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.

borkdude10:12:34

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

tvaughan11:12:34

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

borkdude11:12:09

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

borkdude10:12:45

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

dominicm14:12:01

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

borkdude15:12:01

what's this?

dominicm15:12:22

Vim linter, I'm adding upstream support.

dominicm17:12:10

(tired of having the config in my files)

Eugen18:12:11

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 [email protected] does not satisfy [email protected]

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

borkdude18:12:49

@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

Eugen18:12:48

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

Eugen18:12:28

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

Eugen18:12:33

thanks again

borkdude22:12:46

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

👍 15