{:paths ["src"]
:deps {metosin/malli {:git/url "https://github.com/tvaisanen/malli"
:git/sha "852d7c3fd445071ae66165f8382e486fe3a8343f"}}
:aliases {:generate-types {:exec-fn core/run}}}
Generate types
❯ clj -X:generate-types
started instrumentation
Check types
❯ cat .clj-kondo/metosin/malli-types-clj/config.edn
{:linters
{:unresolved-symbol {:exclude [(malli.core/=>)]},
:type-mismatch
{:namespaces
{core {foo {:arities {2 {:args [{:op :keys, :req {:keys :seqable}} :any],
:ret :any}}},
case-1 {:arities {1 {:args [{:op :keys, :req {:keys :seqable}}],
:ret :nil}}},
case-2 {:arities {1 {:args [{:op :keys, :req {:keys :seqable}}],
:ret :nil}}},
case-3 {:arities {1 {:args [{:op :keys, :req {:keys :seqable}}],
:ret :nil}}}}}}}}
Run lint
❯ clj-kondo --lint src/core.cljc
linting took 12ms, errors: 0, warnings: 0