This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-07
Channels
- # announcements (9)
- # beginners (155)
- # bristol-clojurians (1)
- # calva (49)
- # chlorine-clover (36)
- # cider (10)
- # clara (6)
- # clj-kondo (14)
- # clojars (28)
- # clojure (226)
- # clojure-australia (1)
- # clojure-berlin (12)
- # clojure-czech (1)
- # clojure-europe (26)
- # clojure-germany (1)
- # clojure-nl (2)
- # clojure-uk (32)
- # clojurescript (9)
- # conjure (21)
- # datascript (3)
- # datomic (43)
- # emacs (3)
- # figwheel-main (16)
- # fulcro (17)
- # graalvm (9)
- # helix (4)
- # lambdaisland (3)
- # malli (13)
- # off-topic (12)
- # pathom (7)
- # re-frame (10)
- # reitit (9)
- # rewrite-clj (2)
- # shadow-cljs (41)
- # spacemacs (6)
- # specter (3)
- # test-check (5)
- # tools-deps (9)
- # tree-sitter (1)
- # vim (15)
- # xtdb (3)
https://github.com/borkdude/clj-kondo/issues/646#issuecomment-704900810 https://github.com/borkdude/clj-kondo/tree/shadow-binding-646 feedback welcome, now it's still in the works.
Is there a pattern for suppressing unused warnings in defmulti
dispatch function arguments?
@hugod you can either start the args with underscores or use #_:clj-kondo/ignore
or #_{:clj-kondo/ignore [:unused-binding]}
Thanks. Might be nice to have a general option, since the dispatch fn arguments are seldom all used.
Got rid of all shadowed var warnings in clj-kondo 😅 https://github.com/borkdude/clj-kondo/commit/f8a43e1c5eb6e2ce840cb9656a3c43f788792b11
Lol, I thought it didn't work in one spot, but I had a (:refer-clojure :exclude [ns-name])
in that namespace :)
I just pushed a snapshot release of clj-kondo (`2020.09.10-20201007.185225-22`) that fixes a memory problem when using clj-kondo in a long running process. Users that use clj-kondo in a long running process (on the JVM, as a library or LSP server) are advised to update to this version. Details: https://github.com/borkdude/clj-kondo/issues/1036 I already pushed out a new version of the clj-kondo VSCode extension with the fix. cc @snoe @robert-stuttaford