summaryrefslogtreecommitdiff
path: root/resources/clj-kondo/hooks
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nmm.ee>2025-09-24 21:04:21 +0300
committerAsko Nõmm <asko@nmm.ee>2025-09-24 21:04:21 +0300
commit13f7093cfc9860dc2a9b2fd94f19d3661f15b3d3 (patch)
treecdfdbcb1eb865abe45b7c73e263c0d9ed2aa3023 /resources/clj-kondo/hooks
parentb94e6243d0f557a2221e3369605933de5c98de74 (diff)
WIP
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