Fork me on GitHub
#clj-kondo
<
2020-04-04
>
borkdude07:04:32

thanks! 🙂

didibus20:04:41

I use kibit and Eastwood but only on build

didibus20:04:49

Where I don't mind the time they take

didibus20:04:16

But clj-kondo is like bringing IDE level functionality to editors that didn't have it, so that's much nicer!

didibus20:04:04

I still combine it with joker for linting in-editor, since there's still some mutually exclusive linters between them

didibus20:04:08

I believe both Eastwood and Kibit use core.logic for their linting, which is cool, but core.logic isn't very fast it seems in general, and quite difficult to optimize for.

seancorfield20:04:22

What would make you think that @didibus? A quick look at the project.clj for those projects shows they don't.

didibus20:04:16

Hum... The Kibit readme says: kibit is a static code analyzer for Clojure, ClojureScript, cljx and other Clojure variants. It uses core.logic to search for patterns of code that could be rewritten with a more idiomatic function or macro. For example if kibit finds the code

seancorfield20:04:32

Interesting...

didibus20:04:34

I might have extrapolated wrongly for Eastwood

seancorfield20:04:29

Now I'll have to double-check I read the Eastwood project deps correctly! 🙂 Sorry...

niveauverleih23:04:03

I am trying to install clj-kondo for use with spacemacs on an armv8 32 bit architecture. What works is lein clj-kondo --lint source. The pure executable yields errors, probably because it's built for amd64. Does flycheck-clj-kondo use the jar or the executable? How can I build the executable?

sogaiu23:04:08

i think an executable is used: https://github.com/borkdude/flycheck-clj-kondo/blob/master/flycheck-clj-kondo.el#L53_L56 also there is this bit from the README: > Before installing the Emacs package, make sure the clj-kondo is on your path. For installation instructions, see https://github.com/borkdude/clj-kondo. afaik, there are no arm builds -- but would be happy to be wrong about that 🙂

niveauverleih23:04:20

Thanks @sogaiu! So I'd better build it. I saw the source code was on github. I would be glad if someone could provide me with the command that I need to execute in order to build it.

sogaiu23:04:03

i typically use the compile script that lives in the script directory

sogaiu23:04:57

that script assumes you've got graalvm's native image (or at least GRAALVM_HOME pointed somewhere relevant) as well as leiningen

sogaiu23:04:56

i'm not sure if arm support exists for the jdk 8 based graalvm -- i think i read that there may be some for the jdk 11 based graalvm

sogaiu23:04:31

not sure how helpful it might be, but found this: https://github.com/gluonhq/client-samples