clj-kondo

https://github.com/clj-kondo/clj-kondo
teawaterwire 2020-05-22T09:30:55.235300Z

what's the proper way to remove this warning? exclude symbol or exclude namespace?

borkdude 2020-05-22T09:32:10.235800Z

does goog/isObject also work?

borkdude 2020-05-22T09:34:56.236500Z

@teawaterwire ^ else you can add it to exclude symbol. proper fix would be something like this commit: https://github.com/borkdude/clj-kondo/commit/33cd7fd0493462e1eb0533a666b620d9a04da162

👍 1
teawaterwire 2020-05-22T09:36:10.236600Z

that works!

teawaterwire 2020-05-22T09:37:26.236900Z

so closure namespaces can be used that way to avoid warnings?

borkdude 2020-05-22T09:38:04.237100Z

think so yes?

teawaterwire 2020-05-22T09:43:29.237300Z

sweet 🙌

plins 2020-05-22T18:53:49.238Z

is there a way to install carve as a dev dependency using lein?

borkdude 2020-05-22T18:58:16.238400Z

currently there isn't. any reason not to use clojure?

borkdude 2020-05-22T19:09:49.239100Z

@plins I investigated and I can't make a Clojars release right now because I have a dependency on @lee's rewrite-cljc which is currently only git. Maybe you can try with https://github.com/reifyhealth/lein-git-down

lread 2020-05-22T19:12:11.240300Z

interesting, did not know of that clojars limitation

borkdude 2020-05-22T19:13:46.241100Z

it's like that with Rust's cargo as well, you can't depend on git deps when you want to publish to their http://crates.io website. Although in the case of Clojars it might just be historical.

borkdude 2020-05-22T19:16:07.241600Z

it's probably a sane default which makes things less brittle in case people remove repos etc.

lread 2020-05-22T20:18:45.242200Z

yeah, that makes sense to me