Fork me on GitHub
#clj-kondo
<
2020-05-07
>
Marc O'Morain10:05:50

I’m getting tempted to implement macro-expansion in clj-kondo 🙂

bherrmann12:05:21

I thought I'd try using clj-kondo with emacs. So I think I followed the instructions... but I'm not getting rightly harassed by the checker...

delaguardo12:05:02

you have disabled flycheck clj-kondo is working together with flychek

bherrmann12:05:48

I presume it should be giving me feedback about the select-keys statement.

bherrmann12:05:02

Humm..... (flycheck-buffer) says "Flycheck mode diabled"

bherrmann12:05:24

evaling this turned it on ...  (global-flycheck-mode)

hindol16:05:00

You should not turn it on globally though. You should hook it with the Clojure mode you are using.

hindol16:05:18

Unless you wanted to turn on flycheck mode for every major mode.

bringe19:05:10

Hello, I'm trying to exclude a couple of macro symbols from being linted. This is my config in .clj-kondo/config.edn in the root of my project (same level as deps.edn).

{:linters 
 {:unresolved-symbols 
  {:exclude [(io.pedestal.interceptor.error/error-dispatch [ctx ex])]}}}
Then in my code I require this namespace/function like
[io.pedestal.interceptor.error :refer [error-dispatch]]
But ctx and ex are still getting flagged as unresolved

bringe19:05:43

I am pretty sure I'm doing something wrong, but not seeing what

borkdude19:05:19

Without a minimal but complete repro I also can't see what 🙂

borkdude19:05:25

Ah, spotted it

borkdude19:05:38

the linter is called *-symbol single, not plural

bringe19:05:58

Ah thanks!

just.sultanov22:05:12

Hello everyone! Is it just that I can’t download the latest release? Or does everyone have a problem? https://github.com/borkdude/clj-kondo/releases/download/v2020.05.02/clj-kondo-2020.05.02-linux-amd64.zip

borkdude22:05:21

it seems to be a general Github problem. babashka builds are failing to because of this

just.sultanov22:05:23

Oh 🙂 I thought so. Also encountered a problem on the CI

nate22:05:22

seems to be fixed now

nate22:05:30

I can download from github again