Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
maxthoursie opened this issue Aug 3, 2024 · 1 comment
Closed

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

maxthoursie opened this issue Aug 3, 2024 · 1 comment

Comments

@maxthoursie
Copy link

(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 added a commit that referenced this issue Aug 5, 2024
@ikitommi
Copy link
Member

ikitommi commented Aug 5, 2024

thanks for reporting, fixed in master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants