-
Notifications
You must be signed in to change notification settings - Fork 464
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
spotlessCheck
could add comments and suggested fix to GitHub PR
#655
Comments
Violation-comments to github uses https://github.com/tomasbjerre/violations-lib I may also be able to have a look in a few days/weeks |
Or you can add an option in Spotless to create a report on one of the formats supported by violations-lib. |
Integration with https://github.com/reviewdog/reviewdog would also be nice |
The reviewdog diagnostic format is designed to associate diagnostic messages with a code and a severity against sections of files. Correct me if I've misunderstood but I don't think Spotless has a variety of messages / codes / severities to offer. We'd be left to identify the suggested changes and produce uniform generic message / code / severity for each of them. It appears that reviewdog also supports a diff input and given that Spotless is built around a simple |
The reviewdog data format includes a I agree that the messages/codes/severities will all be the same, except for failures. Spotless is designed around In particular, ktlint throws errors for lots of things which don't fit the If you make a PR which adds a |
A PR against #1097 which pipes
|
Per @rompic's great idea on gitter.
https://github.com/jenkinsci/violation-comments-to-github-plugin
The text was updated successfully, but these errors were encountered: