You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently it doesn't appear possible to inform clj-kondo about the introduction of multiple namespaces / aliases via the hooks api. Related #1018
Describe the solution you'd like
Support for quote in require forms is one of two things which if implemented would make it possible to teach clj-kondo via the hooks api, about the introduction of multiple namespaces / aliases via a single form.
Additional context
There is a construct in libpython-clj called import-python which when evaluated leads to the introduction of 7 or so namespaces / aliases.
It seems that without support for quote in require forms, clj-kondo cannot be appropriately instructed.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently it doesn't appear possible to inform clj-kondo about the introduction of multiple namespaces / aliases via the hooks api. Related #1018
Describe the solution you'd like
Support for
quote
inrequire
forms is one of two things which if implemented would make it possible to teach clj-kondo via the hooks api, about the introduction of multiple namespaces / aliases via a single form.Currently, this doesn't get recognized:
whereas, the following does:
Describe alternatives you've considered
Having the hooks api support the creation of rewrite-clj's quote nodes: https://github.com/borkdude/clj-kondo/blob/master/parser/clj_kondo/impl/rewrite_clj/node/quote.clj#L39
I have no idea how much work that would be nor what consequences it might have.
Additional context
There is a construct in libpython-clj called import-python which when evaluated leads to the introduction of 7 or so namespaces / aliases.
It seems that without support for
quote
inrequire
forms, clj-kondo cannot be appropriately instructed.The text was updated successfully, but these errors were encountered: