ns-sort
ns-sort copied to clipboard
Leiningen plugin for sorting Clojure namespaces.
ns-sort
A Leiningen plugin to sort namespaces in :require block.
Description

The plugin sort namespaces in :require block with lexicographic order.
The project namespaces have more priority compared with other 3rd party dependencies.
The plugin supports .clj, .cljs, .cljc files.
Usage
Put [ns-sort "1.0.3"] into the :plugins vector of your :user profile.
Use this for project-level plugins:
Put [ns-sort "1.0.3"] into the :plugins vector of your project.clj.
Run:
$ lein ns-sort
License
Copyright © 2022 ilevd