{"id":15439500,"url":"https://github.com/joelittlejohn/lein-project-clean","last_synced_at":"2025-04-19T18:42:58.855Z","repository":{"id":62433359,"uuid":"73868794","full_name":"joelittlejohn/lein-project-clean","owner":"joelittlejohn","description":"A lein plugin to tidy/refactor source files in a project via refactor-nrepl middleware","archived":false,"fork":false,"pushed_at":"2018-06-12T10:10:47.000Z","size":15,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T11:23:50.746Z","etag":null,"topics":["clojure","lein","lein-plugin","nrepl","refactoring"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joelittlejohn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-16T00:47:55.000Z","updated_at":"2019-02-05T08:47:23.000Z","dependencies_parsed_at":"2022-11-01T21:16:18.204Z","dependency_job_id":null,"html_url":"https://github.com/joelittlejohn/lein-project-clean","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelittlejohn%2Flein-project-clean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelittlejohn%2Flein-project-clean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelittlejohn%2Flein-project-clean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelittlejohn%2Flein-project-clean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joelittlejohn","download_url":"https://codeload.github.com/joelittlejohn/lein-project-clean/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240002132,"owners_count":19732164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clojure","lein","lein-plugin","nrepl","refactoring"],"created_at":"2024-10-01T19:06:57.698Z","updated_at":"2025-03-02T21:31:10.823Z","avatar_url":"https://github.com/joelittlejohn.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lein-project-clean\n\nA lein plugin to tidy/refactor source files in a project via refactor-nrepl middleware. This plugin uses refactor-nrepl's library of refactorings and Yannick Scherer's excellent [rewrite-clj](https://github.com/xsc/rewrite-clj).\n\n## Usage\n\nPut \n\n![](https://clojars.org/lein-project-clean/latest-version.svg) \n\ninto the `:plugins` vector of your `:user` profile.\n\nIn a project you want to clean:\n\n    $ lein project-clean\n\n## Project clean-up tasks that this plugin runs\n\n* Clean ns declarations in all Clojure files in source-paths and test-paths (sort, standardise and remove redundant 'requires', see [refactor-nrepl's clean-ns](https://github.com/clojure-emacs/refactor-nrepl/blob/a9d5dcf20e9657fa8afd7ffd609ff6c284ad893a/src/refactor_nrepl/ns/clean_ns.clj))\n\n## Todo\n\n* Allow config options to be supplied, e.g. whether to use the prefix form\n* Add a 'dry run' mode that doesn't rewrite files\n* Add more clean-up tasks\n\n## License\n\nCopyright © 2016 Joe Littlejohn\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoelittlejohn%2Flein-project-clean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoelittlejohn%2Flein-project-clean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoelittlejohn%2Flein-project-clean/lists"}