A Leiningen plugin to sort namespaces in :require
block.
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.
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
Copyright © 2022 ilevd