metosin / malli

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

clj-kondo can't parse config.edn written by (malli.dev/start!) #1083

Closed maxthoursie closed 1 month ago

maxthoursie commented 1 month ago

(malli.dev/start!) writes this file .clj-kondo/metosin/malli-types-clj/config.edn :

{:report #object[malli.dev.pretty$reporter$fn__7322 "0x4e2e7a7c" "malli.dev.pretty$reporter$fn__7322@4e2e7a7c"],
 :linters {:unresolved-symbol {:exclude [(malli.core/=>)]},
           :type-mismatch {:namespaces {user {foo {:arities {1 {:args [:int], :ret :int}}}}}}}}

The #object part makes clj-kondo unhappy:

% clj-kondo --lint src/user.clj                     
WARNING: error while reading /Users/max/code/clj-scratch/.clj-kondo/metosin/malli-types-clj/config.edn (No reader function for tag object)

Started with 0.16.2, 0.16.1 doesn’t include the :report key at all.

ikitommi commented 1 month ago

thanks for reporting, fixed in master