From ea8dea2dd173c2e899640acae7d27e7e95b585f7 Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Fri, 26 Sep 2025 14:05:03 +0300 Subject: Improve clj-kondo hooks. --- resources/clj-kondo/config.edn | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'resources/clj-kondo/config.edn') diff --git a/resources/clj-kondo/config.edn b/resources/clj-kondo/config.edn index 813976f..1a76557 100644 --- a/resources/clj-kondo/config.edn +++ b/resources/clj-kondo/config.edn @@ -1,2 +1,5 @@ -{:hooks {:analyze-call {dompa.templates/$ hooks.dompa/$}} - :linters {:dompa.templates/$-arg-validation {:level :warning}}} \ No newline at end of file +{:hooks {:analyze-call {dompa.templates/$ hooks.dompa/$ + dompa.templates/defhtml hooks.dompa/defhtml}} + :linters {:dompa.templates/$-arg-validation {:level :warning} + :dompa.templates/defhtml-arg-validation {:level :warning}} + :lint-as {dompa.templates/defhtml clojure.core/defn}} \ No newline at end of file -- cgit v1.2.3