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

add support for repairing LGTM warnings #607

Open
monperrus opened this issue Oct 8, 2021 · 2 comments
Open

add support for repairing LGTM warnings #607

monperrus opened this issue Oct 8, 2021 · 2 comments

Comments

@monperrus
Copy link
Contributor

No description provided.

@monperrus
Copy link
Contributor Author

See LGTM repairs in Spoon: INRIA/spoon#4180

@slarse
Copy link
Collaborator

slarse commented Oct 8, 2021

I've made most of the prep work for using an arbitrary static analyzer to generate the violations. Before jumping head-first into adding a real analyzer, I'd suggest adding a bogus one (could just use Spoon to generate some RuleViolation on a specific condition, and have a corresponding repair) and making sure that works. As I recall there are still a few places with Sonar-esque assumptions, but they should be relatively minor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants