We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version
clj-kondo v2021.05.31
macro usage
Maybe have something to do with clojure.spec.alpha/keys macro
platform
native version of clj-kondo
editor
Emacs
problem
Namespace is reported unused when it is only used in spec.alpha/keys's argument.
(ns boxhero.hello (:require [cljs.spec.alpha :as s] [boxhero.spec :as spec])) (s/keys :req [::spec/hello])
src/boxhero/hello.clj:3:14: warning: namespace boxhero.spec is required but never used
but it is used in s/keys.
s/keys
repro
Please refer to problem description.
config
no
expected behavior
no warning is exepcted.
The text was updated successfully, but these errors were encountered:
Probably related to #1272
Sorry, something went wrong.
False unused namespace with clojure.spec/keys #1289
63d617a
Fixed on master.
No branches or pull requests
version
clj-kondo v2021.05.31
macro usage
Maybe have something to do with clojure.spec.alpha/keys macro
platform
native version of clj-kondo
editor
Emacs
problem
Namespace is reported unused when it is only used in spec.alpha/keys's argument.
but it is used in
s/keys
.repro
Please refer to problem description.
config
no
expected behavior
no warning is exepcted.
The text was updated successfully, but these errors were encountered: