This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-17
Channels
- # announcements (6)
- # babashka (2)
- # babashka-sci-dev (1)
- # beginners (74)
- # calva (3)
- # cider (33)
- # clj-kondo (19)
- # cljsrn (10)
- # clojure (75)
- # clojure-dev (11)
- # clojure-europe (39)
- # clojure-italy (1)
- # clojure-nl (1)
- # clojure-spec (4)
- # clojure-uk (6)
- # clojurescript (139)
- # code-reviews (8)
- # core-typed (7)
- # data-science (1)
- # docs (2)
- # emacs (11)
- # events (1)
- # introduce-yourself (8)
- # lsp (4)
- # malli (10)
- # off-topic (15)
- # pedestal (5)
- # podcasts (4)
- # polylith (18)
- # re-frame (6)
- # react (1)
- # reagent (18)
- # reitit (6)
- # releases (2)
- # rewrite-clj (1)
- # spacemacs (15)
- # sql (2)
- # vscode (5)
is it possible to squash a deprecation warning for a specific var, at the config.edn level? i know that i can #_:clj-kondo/ignore
them one by one, but it'd be great if i could do it once for the whole codebase
warning: #'hiccup.core/html is deprecated since 2.0
lol, why did i fail to find that myself. thanks and sorry!
got it sorted, thanks sir
concise and correct, like all good clojure code
I was about to make an issue about this but want to check that I’m not doing something dumb:
(ns bug
(:import java.util.Collection))
(defmulti foo {:arglists '([^Collection coll])} first)
clj-kondo is reporting the import of j.u.Collection is unused. Not clear to me if
• it is unused because that typehint isn’t doing anything
• it is used by clj-kondo is getting thrown because it is inside of a quoted forminterestingly, changing it to
(defmulti foo {:arglists (list [^Collection 'coll])} first)
did not remove the unused warninghttps://github.com/metabase/metabase/blob/master/test/metabase/test/data/sql.clj#L10 is the import and https://github.com/metabase/metabase/blob/master/test/metabase/test/data/sql.clj#L247 is the usage