This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-20
Channels
- # announcements (26)
- # babashka (25)
- # beginners (16)
- # biff (12)
- # calva (36)
- # clj-commons (4)
- # clj-kondo (3)
- # clojars (1)
- # clojure-art (1)
- # clojure-dev (1)
- # clojure-europe (10)
- # clojure-gamedev (1)
- # clojurescript (7)
- # clr (10)
- # fulcro (10)
- # helix (6)
- # introduce-yourself (2)
- # malli (7)
- # matrix (203)
- # off-topic (12)
- # pedestal (4)
- # practicalli (2)
- # reagent (5)
- # specter (1)
- # sql (8)
- # vim (1)
- # xtdb (5)
I'm trying to ignore unused refers in comments. before I make a github issue—this should work, right?
;; foo.clj
(ns foo)
(comment
(require '[a :refer [shouldnt-warn]]))
;; config.edn
{:config-in-comment {:linters {:unused-referred-var {:level :off}}}}
with the expected result being that no warnings are printed. (in fact, a warning is printed.)CLI one-liner version echo "(comment (require '[a :refer [shouldnt-warn]]) a/a)" | clj-kondo --config "{:config-in-comment {:linters {:unused-referred-var {:level :off}}}}" --lint -