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

Dataflow code doesn't work well with :invalid-arity linter #10

Open
vemv opened this issue Aug 23, 2024 · 0 comments
Open

Dataflow code doesn't work well with :invalid-arity linter #10

vemv opened this issue Aug 23, 2024 · 0 comments

Comments

@vemv
Copy link

vemv commented Aug 23, 2024

Kondo's :invalid-arity linter is generally super useful.

However whenever it sees code like this:

(identity *foos :> *result)

It sees three arguments for clojure.core/identity, not one.

It would be nice to be able to teach it to ignore every argument including/after :>, as long one is inside a <<query-topology call.

I can imagine how this isn't trivial though.

Cheers - V

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant