metosin / malli

High-performance data-driven data specification library for Clojure/Script.
Eclipse Public License 2.0
1.48k stars 210 forks source link

clj kondo linting: `error: Insufficient input.` #865

Closed escherize closed 1 year ago

escherize commented 1 year ago

I am seeing a lot of errors like this after rerunning malli.dev/start! on the latest version:

src/metabase/util/honey_sql_2.clj:366:82: error: Insufficient input.

I think these clj-kondo errors from having the .clj-kondo/metosin/malli-types/config.edn file stick around. Deleting them manually seems to fix the issue.

Deleting the file manually works, but something like:

(.delete (io/file ".clj-kondo" "metosin" "malli-types" "config.edn"))

applied in here ought to fix things.

ikitommi commented 1 year ago

I think this is fixed now, https://github.com/metosin/malli/blob/6653932cbb831701fde39fa014f3a26ada2dd11f/src/malli/clj_kondo.cljc#L160-L161