-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
Detect Reagent component function calls for arity linting #25
Comments
How do we detect if a function is intended as a Reagent component and hence a "vector call" should be interpreted as a function call? A combination of one or more of these:
Still, it's not 100% accurate to tell if |
In addition, using the idiomatic reagent [component.classname ...] or [component#id ...] produces "unresolved symbol" errors. Can this be fixed? |
@agoldhammer That's a separate issue. Can you please make an issue with a self-consistent example (.cljs file) that I can lint? |
@agoldhammer According to a Reagent maintainer on Clojurians slack (@Deraen) this is not supported. |
Sorry, my mistake. Supported in Hiccup, not Reagent. Please ignore. |
Thought about this long enough and I don't see a feasible way to do this without producing false positives. |
The text was updated successfully, but these errors were encountered: