malli

https://github.com/metosin/malli :malli:
2020-12-01T15:05:36.165Z

About the :clj-kondo: integration, is malli annotations compatible with the clj-kondo ones? As in if something is typed string on malli and is passed to a core function that only accepts numbers, will it show as a warning?

borkdude 2020-12-01T15:06:33.165700Z

@mynomoto this doesn't work automatically, you should execute some code to make malli spit out type information to a clj-kondo config directory and you should opt in to this config dir via :config-paths

2020-12-01T15:09:06.165800Z

I'm assuming that the developer did the correct project configuration. The question is more about if a malli string is a clj-kondo string when doing the type inference.

2020-12-01T15:13:54.166400Z

This is great, thanks! I was wondering if a project to add malli type annotations to core functions would be useful for type inference but I'm glad that it is not necessary.