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
2023.07.13
macro usage
no macros
platform
tested on native clj-kondo, MacOS
editor
also tested in Calvaa VSCode using 2023.06.02-SNAPSHOT
problem
ignore unused-binding metadata on one of the arity in multi-arity function is not respected
repro
file test-kondo.clj
test-kondo.clj
(defn foo ([p1] (foo p1 "p2")) #_{:clj-kondo/ignore [:unused-binding]} ([p1 p2] (println p1 "not using p2")))
clj-kondo --lint test-kondo.clj # => # test-kondo.clj:4:8: warning: unused binding p2 # linting took 21ms, errors: 0, warnings: 1
config
not a config issue
expected behavior
linting will produce zero warning
The text was updated successfully, but these errors were encountered:
Fix #2145: support ignore hint on multi-arity branch of function defi…
ddb91fe
…nition
a2050e7
No branches or pull requests
version
2023.07.13
macro usage
no macros
platform
tested on native clj-kondo, MacOS
editor
also tested in Calvaa VSCode using 2023.06.02-SNAPSHOT
problem
ignore unused-binding metadata on one of the arity in multi-arity function is not respected
repro
file
test-kondo.clj
config
not a config issue
expected behavior
linting will produce zero warning
The text was updated successfully, but these errors were encountered: