Fork me on GitHub
#clj-kondo
<
2022-04-04
>
fabrao03:04:42

how to I ignore Unused public var if defn have specific metadata?

fabrao03:04:06

like this

(defn ^{:resolver :query/usuario_by_id} usuario-by-id [conexoes]
  (fn [_ _ _]
    "OK"))

Joshua Suskalo03:04:51

this lint comes from #lsp, you'd need to see if lsp allows you to configure it to be based on meta

fabrao03:04:33

I use it dynamic, not directly