Fork me on GitHub
#clj-kondo
<
2019-05-28
>
borkdude15:05:22

Any other volunteers wanting to test a new feature called “unused bindings”? https://github.com/borkdude/clj-kondo/issues/173#issuecomment-496563463

kenny23:05:41

The install for IntelliJ IDEA located: https://cljdoc.org/d/clj-kondo/clj-kondo/2019.05.27-SNAPSHOT-alpha/doc/editor-integration#intellij-idea always will open the console because the command exits with a non-zero status. You need to set Show console to Never.

kenny23:05:12

I am testing clj-kondo out on one of my projects. There's one false positive that I'm seeing. In the ns, I have

(ns foo
  (:require
    [honeysql-postgres.format]))
clj-kondo says: "warning: namespace honeysql-postgres.format is required but never used". While this warning is correct, it actually is implicitly used. That namespace registers some defmethods to extend honeysql.

kenny23:05:35

The same problem when require'ing namespaces that only contain specs -- the actual namespace is not aliased and does not appear to be used but it actually mutates some global state.