Fork me on GitHub
#clj-kondo
<
2020-02-01
>
Adrian Smith16:02:23

I'm trying to use clj-kondo on emacs I've installed the extension via package-install and added (require 'flycheck-clj-kondo) to my init.el but nothing lints unless I run :global-flycheck-mode in evil mode, then it works but that's not persistent, what am I missing?

Adrian Smith16:02:30

ah I think (global-flycheck-mode 1) in init.el has "fixed" it

borkdude17:02:18

I've got a clj-kondo build here which adds type checks for function calls: https://8273-176829714-gh.circle-artifacts.com/0/release/clj-kondo-2020.01.28-SNAPSHOT-linux-amd64.zip https://8275-176829714-gh.circle-artifacts.com/0/release/clj-kondo-2020.01.28-SNAPSHOT-macos-amd64.zip It's probably not perfect yet, but what it catches at the moment is for example:

borkdude17:02:29

Welcome to test it out on more examples and report non-working ones.

borkdude22:02:22

yeah, it's hacky but linting as cljs.test/async works 🙂

practicalli-johnny22:02:03

I have to say thanks again to clj-kondo. I had several tips of really useful feedback during my live coding broadcast today. clj-kondo feels like I am constantly pairing with a trusted friend who lovingly stops me from making silly mistakes and helps me write more idiomatic code. (and this is with a version that's a couple of months old).

❤️ 16
borkdude22:02:25

I did find a type error in a proprietary project just now, but it was probably in some unused code: