Skip to content
New issue

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

support reader conditionals in ignore hint #1022

Closed
borkdude opened this issue Sep 29, 2020 · 0 comments
Closed

support reader conditionals in ignore hint #1022

borkdude opened this issue Sep 29, 2020 · 0 comments
Labels
enhancement New feature or request
Projects

Comments

@borkdude
Copy link
Member

borkdude commented Sep 29, 2020

E.g.:

#_{:clj-kondo/ignore #?(:clj [:unused-binding] :cljs [])}
   (defn foo [x]
     #?(:cljs x))

should be possible and give no warning.

cc @serioga

@borkdude borkdude added this to Needs triage in clj-kondo via automation Sep 29, 2020
@borkdude borkdude moved this from Needs triage to High priority (next release) in clj-kondo Sep 29, 2020
@borkdude borkdude added the enhancement New feature or request label Sep 29, 2020
@borkdude borkdude moved this from High priority (next release) to In progress in clj-kondo Oct 9, 2020
@borkdude borkdude moved this from In progress to Next release in clj-kondo Oct 10, 2020
clj-kondo automation moved this from Next release to Done Oct 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
clj-kondo
  
Done
Development

No branches or pull requests

1 participant