Liking cljdoc? Tell your friends :D

formatting-stack.formatters.trivial-ns-duplicates

This formatter removes 'trivial' duplicate libspecs from the ns form.

Compensates for some refactor-nrepl.clean-ns intricacies, and also provides .cljs compatibility.

This formatter removes 'trivial' duplicate libspecs from the `ns` form.

Compensates for some `refactor-nrepl.clean-ns` intricacies, and also provides .cljs compatibility.
raw docstring

duplicate-cleanerclj

(duplicate-cleaner ns-form)
source

extract-refersclj

(extract-refers libspec)
source

format!clj

(format! {:keys [how-to-ns-opts]} files)
source

is-or-has-reader-conditional?clj

(is-or-has-reader-conditional? x)
source

lint!clj

(lint! {:keys [how-to-ns-opts]} files)
source

maybe-remove-libspec-subsetsclj

(maybe-remove-libspec-subsets libspecs)
source

maybe-remove-optionless-libspecsclj

(maybe-remove-optionless-libspecs libspecs)
source

newclj

(new {:keys [how-to-ns-opts] :or {how-to-ns-opts {}}})
source

remove-exact-duplicatesclj

(remove-exact-duplicates ns-form)
source

remove-referclj

(remove-refer libspec)
source

replaceable-ns-formclj

(replaceable-ns-form how-to-ns-opts filename)
source

without-refer=clj

(without-refer= x y)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close