Fork me on GitHub
#clj-kondo
<
2020-05-22
>
teawaterwire09:05:55

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

borkdude09:05:10

does goog/isObject also work?

teawaterwire09:05:26

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

borkdude09:05:04

think so yes?

borkdude09:05:56

@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

👍 4
plins18:05:49

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

borkdude18:05:16

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

borkdude19:05:49

@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

lread19:05:11

interesting, did not know of that clojars limitation

borkdude19:05:46

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.

borkdude19:05:07

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

lread20:05:45

yeah, that makes sense to me