Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a Maven flag or configuration option to apply suggestions automatically #484

Open
ferdinand-swoboda opened this issue Jan 31, 2023 · 0 comments
Labels
documentation A documentation update

Comments

@ferdinand-swoboda
Copy link
Contributor

ferdinand-swoboda commented Jan 31, 2023

Problem

It is possible to use ./apply-error-prone-suggestions.sh to apply suggestions provided by EPS but it requires to checkout and build EPS locally, presenting an additional hindrance/inconvenience.

Description of the proposed new feature

I'd like to apply all or most suggestions provided by EP(S) without having to check out build EPS as it is mentioned in the readme.

In particular newly adopting projects would benefit from a quick & easy way to view EPS' suggestions in the resulting git diff.

In essence, I am looking for the convenience equivalent of fmt-maven-plugin's mvn fmt:format feature, configurable by bug check/Refaster rule.

Additional context

Error Prone itself has experimental support for creating patches. Potentially, all that is required is to improve EPS' documentation.

@rickie rickie added documentation A documentation update and removed new feature labels Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation A documentation update
Development

No branches or pull requests

2 participants