summaryrefslogtreecommitdiff
path: root/resources/clj-kondo/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'resources/clj-kondo/hooks')
-rw-r--r--resources/clj-kondo/hooks/dompa.clj5
1 files changed, 4 insertions, 1 deletions
diff --git a/resources/clj-kondo/hooks/dompa.clj b/resources/clj-kondo/hooks/dompa.clj
index b0eee7a..2433051 100644
--- a/resources/clj-kondo/hooks/dompa.clj
+++ b/resources/clj-kondo/hooks/dompa.clj
@@ -34,4 +34,7 @@
"the second argument must be a sequence or a map. "
"In other words, the second argument must be an attribute map "
"or sequence of other nodes created with the $ macro.")
- :type :dompa.utils/$-arg-validation))))) \ No newline at end of file
+ :type :dompa.utils/$-arg-validation)))))
+
+ ; if the first arg is a keyword, the second arg is a map, then the third arg can
+ ; only be a sequence