clj-kondo 2025-07-15

a number of clojure core functions have stated inputs and outputs but can also return nils (`keyword`, meta, etc). is that something clj-kondo should account for?

Only if it’s observable in linting I would say

πŸ‘ 1

keyword returning nil seems like accidental behavior to me

meta on the other hand is legit behavior

The docstring of meta also explicitly states that it returns nil in some cases, keyword states that is returns a keyword

πŸ‘ 1

is there a linter that complains about inline #_ linter config?

there's one that checks if a given #_ linter config is unnecessary

i hate seeing inline config

πŸ˜‚ 1

like redundant?

like, it didn't catch any warnings

config file and inline say the same thing

but there's nothing for rejecting all inline configs. it's an interesting request

could you disable it with an inline linter config? 🧠

πŸ˜‚ 4

here's a linter:

! rg "#_:clj-kondo"; echo $?

2
❀️ 1
πŸ˜† 3