We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07126a9 commit 6d42dbbCopy full SHA for 6d42dbb
.clj-kondo/config.edn
@@ -5,4 +5,7 @@
5
:used-underscored-binding {:level :warning}
6
:unused-value {:level :warning}
7
:redundant-call {:level :warning}
8
- :redundant-str-call {:level :warning}}}
+ :redundant-str-call {:level :warning}
9
+ :clojure-lsp/unused-public-var {:exclude-regex #{"components.*"
10
+ "sections.*"}}}
11
+ :hooks {:analyze-call {malli.core/=> hooks/=>}}}
.clj-kondo/hooks.clj
@@ -0,0 +1,10 @@
1
+(ns hooks
2
+ (:require [clj-kondo.hooks-api :as api]))
3
+
4
+(defn ^:export => [{:keys [node]}]
+ (let [[macro-sym name-node & schema-nodes] (:children node)]
+ {:node (api/list-node
+ (list*
+ macro-sym
+ (with-meta name-node {:clj-kondo/ignore-reference true})
+ schema-nodes))}))
0 commit comments