clj-kondo

damirb 2025-02-25T14:53:24.212519Z

It seems something is very wrong in my config but I don't know how to fix it. I get hundreds of Insufficient input. errors. I used :malli/schema metadata key on some functions before, but it broke some time ago after some upgrades. I commented out all :malli/schema keys from my codebase (with ; ), removed .cache, and basically have only :skip-comments true and some lint-as bindings for macros. No config.edn in /etc, and ~/.config clj-kondo v2025.02.20

borkdude 2025-02-25T15:45:28.026869Z

What directories are inside of your .clj-kondo project dir?

damirb 2025-02-25T17:05:10.158109Z

babashka com.github.seancorfield funcool http-kit metosin net.clojars.john potemkin rewrite-clj taoensso

borkdude 2025-02-25T17:12:22.945319Z

Delete metosin

damirb 2025-02-25T17:18:11.073949Z

👍

damirb 2025-02-25T17:32:07.667719Z

pretty dumb, in retrospect. i've forgotten how it's configured.. any way to get more details on insufficient input error? i've got function with following content in malli-types/config.edn jr-init {:arities {3 {:args [{:op :keys, :opt {:memo? :boolean}} :int :int], :ret {:op :keys, :req {}}}}} and call it as (jr-init {} 200 100) it errors with insufficient input on 100

borkdude 2025-02-25T17:38:22.060229Z

Not sure. I’m currently in bed with a flu so can’t verify this on a laptop but if you want to create a GitHub issue for this I’ll take a look later

damirb 2025-02-25T17:39:48.245489Z

sorry to bother, no worries. will poke around or create an issue if i don't get it to work. get better:tea:

👍 1