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
(defn-spec my-inc integer?
[a integer?] ; Each argument is followed by its spec.
(+ a 1))
we might support a non-existing imaginary reference macro clj-kondo.lint-as-macros/defn-1 which:
knows that a var is being created with a certain name
doesn't create warnings for the rest of the body, but does lint usages, so e.g. no warnings will pop up for an unused private function)
This approach might also work for the Rum macros described in #536 .
The text was updated successfully, but these errors were encountered:
borkdude
changed the title
Support reference macros that can be used in lint-as e.g. to support orchestra.core/defn-spec
Support reference lint-as macros that can be used in lint-as e.g. to support orchestra.core/defn-spec
Jan 1, 2020
E.g. to support
orchestra.core/defn-spec
:we might support a non-existing imaginary reference macro
clj-kondo.lint-as-macros/defn-1
which:This approach might also work for the Rum macros described in #536 .
The text was updated successfully, but these errors were encountered: