plumatic / schema

Clojure(Script) library for declarative data description and validation
Other
2.4k stars 256 forks source link

Add clj-kondo exports #441

Closed erickisos closed 2 years ago

erickisos commented 2 years ago

Hey folks!

Recently I discovered that every time I want to check my projects (that use this library) with schema/deftest, Clojure-lsp (and for instance clj-kondo?) is unable to lint in the right way, so I think the best approach should be having those exports directly in the library following this guide, please if this doesn't make sense at all for you, let me know and maybe we cand o a quick sync.

w01fe commented 2 years ago

Thanks for the PR. I'm a little reluctant to include stuff only relevant to a third-party library like this in core. That said, I guess kondo looks pretty popular so it's probably worth doing. I'm inclined to take this unless anyone else objects, will merge in a few days if there are no comments.