diff --git a/.clj-kondo/com.github.seancorfield/expectations/config.edn b/.clj-kondo/com.github.seancorfield/expectations/config.edn deleted file mode 100644 index d94f1be..0000000 --- a/.clj-kondo/com.github.seancorfield/expectations/config.edn +++ /dev/null @@ -1,10 +0,0 @@ -{:hooks - {:analyze-call - {expectations.clojure.test/more-> - hooks.com.github.seancorfield.expectations/more-> - expectations.clojure.test/more-of - hooks.com.github.seancorfield.expectations/more-of}} - :lint-as - {expectations.clojure.test/defexpect clojure.test/deftest - expectations.clojure.test/from-each clojure.core/for - expectations.clojure.test/=? clojure.core/=}} diff --git a/.clj-kondo/com.github.seancorfield/expectations/hooks/com/github/seancorfield/expectations.clj_kondo b/.clj-kondo/com.github.seancorfield/expectations/hooks/com/github/seancorfield/expectations.clj_kondo deleted file mode 100644 index 10a5fe5..0000000 --- a/.clj-kondo/com.github.seancorfield/expectations/hooks/com/github/seancorfield/expectations.clj_kondo +++ /dev/null @@ -1,29 +0,0 @@ -(ns hooks.com.github.seancorfield.expectations - (:require [clj-kondo.hooks-api :as api])) - -(defn more-> [{:keys [node]}] - (let [tail (rest (:children node)) - rewritten - (api/list-node - (list* - (api/token-node 'cond->) - (api/token-node 'nil) - tail))] - {:node rewritten})) - -(defn more-of [{:keys [node]}] - (let [bindings (fnext (:children node)) - pairs (partition 2 (nnext (:children node))) - rewritten - (api/list-node - (list* - (api/token-node 'fn) - (api/vector-node (vector bindings)) - (map (fn [[e a]] - (api/list-node - (list - (api/token-node 'expectations.clojure.test/expect) - e - a))) - pairs)))] - {:node rewritten}))