Hi, I stumbled upon an edge-case with commented-out aliased namespaced keywords. If I have code that is commented out with a reader ignore tag, and that code is the only user of an alias, kondo complains that the alias is unused. Which it is by the code, but the reader still needs it. For example:
(ns lint-comment
(:require [clojure.string :as str]))
#_::str/foo
Kondo will complain about this, but if the require is removed the namespace doesn't compile. Ideally kondo wouldn't tell me to do something that will stop my code from working. Should I make an issue for this?This is a known problem. Clj-kondo doesn’t an analyze comments. Maybe it should. Feel free to submit an issue if there isn’t one