Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 705 Bytes

README.md

File metadata and controls

31 lines (16 loc) · 705 Bytes

ns-sort

A Leiningen plugin to sort namespaces in :require block.

Clojars Project

Description

ns-sort

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