Can we check for some unwanted imports?
Open
- Dominant language
- Java
- Stars
- 7.2k
- Forks
- 820
- Avg merge
- 5h 9m
- Merged PRs (30d)
- 50
Description
We have an app on Google App Engine platform and GAE libraries come with shadowed guava dependencies e.g. com.google.appengine.repackaged.com.google.common.base.Strings. Some goes for other libraries like CatchException (with their shadowed Mockito). It can happen that developers accidentally use a wrong import and I was thinking about preventing it with static check. I would like to write a custom error-prone checker but didn't find a way to make checker configurable so that everybody could use it to blacklist imports specific to his/her project. Does error-prone support passing arguments to specific checkers?
Contributor guide
Assessment
This issue has not been assessed yet.