Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pelletier/lein-check-missing-requires
A Leiningen plugin to check if you didn't forget to require your imports
https://github.com/pelletier/lein-check-missing-requires
Last synced: about 1 month ago
JSON representation
A Leiningen plugin to check if you didn't forget to require your imports
- Host: GitHub
- URL: https://github.com/pelletier/lein-check-missing-requires
- Owner: pelletier
- License: epl-1.0
- Created: 2016-05-15T17:30:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-05-15T17:31:10.000Z (over 8 years ago)
- Last Synced: 2024-10-13T14:17:47.363Z (2 months ago)
- Language: Clojure
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lein-check-missing-requires
A Leiningen plugin to check if you didn't forget to `:require` your `:import`s.
## Usage
Put `[lein-check-missing-requires "0.1.0-SNAPSHOT"]` into the `:plugins` vector of your project.clj.
$ lein check-missing-requires
Will emit some warnings if any `:import` isn't `:require`d. For example:```clj
(ns my.super-ns
(:import (my.other-ns MyClass))
```Will emit the warning:
```
example.clj: Some imports are not required: #{my.other-ns}
```## License
Copyright © 2016 FIXME
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.