Closed technomancy closed 4 years ago
Commit 3f7f8c7a8e4e9bfa35f207e63f79fe17bddb6911 sums up Slamhound's handling of CLJS:
Add namespaces beginning with "cljs." to the blacklist
Many contrib libraries ship with Clojure (clojure.foo) and ClojureScript (cljs.foo) namespaces. Because the CLJS namespaces contain many of the same vars as their Clojure counterparts, these namespaces frequently appear in candidate lists. Furthermore, they often win the disambiguation process since "cljs" is shorter than "clojure".
Slamhound does not currently support ClojureScript, so blacklisting these namespaces for the time being is quite convenient.
The CLJS dependency was added earlier in 6fa155e0937c6f1f296224f0a9b9469fe960cc1b, but the rationale is the same, IIRC.
Removing this dependency is just fine, but what might be better is bumping up the versions for both the org.clojure/clojure
and org.clojure/clojurescript
deps. Being a bit out of the Clojure loop atm, I think the decision is best left to you.
Closing this out since it's old and stale.
The Clojurescript dependency in the
:dev
profile fails to resolve, and is not needed for the tests to pass. I don't know why it was added, so I won't remove it directly myself.