Closed borkdude closed 2 years ago
@borkdude Is there any input you need in order to create clj-kondo rules for UIx? I guess we could also pull them from Helix?
@roman01la If all macros with non-standard syntax are fully covered in the tests, we can try to make linting work using those examples. Haven't looked at helix, but this library is similar, we could re-use that.
I think clj-kondo could check at least the following two forms:
uix.core/defui
as clojure.core/defn
uix.core/$
should have the following signature ($ keyword-or-symbol ...any)
Cool. And the keyword is an alias for a function?
@borkdude Not sure I understand, but the keyword is Hiccup style syntax :dev#id.class
etc. A symbol is a reference to a function.
Sorry I haven't followed up here.
As discussed here: https://twitter.com/roman01la/status/1542854258235740160
I'd be happy to contribute this.