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

Adjust existing steps to be lint-friendly #2305

Merged
merged 9 commits into from
Oct 21, 2024
Merged

Adjust existing steps to be lint-friendly #2305

merged 9 commits into from
Oct 21, 2024

Conversation

nedtwigg
Copy link
Member

Most of all, this PR is an example of how Lint can be incorporated into steps.

Now that we have a Lint API, all exceptions that get thrown by FormatterStep get turned into lints. If you throw a real "Spotless Lint" then it shows up nice, if it's any other kind of exception then the lint includes the full stacktrace (good for debugging, bad if it should be just a clean message).

@nedtwigg nedtwigg mentioned this pull request Oct 21, 2024
Base automatically changed from feat/lint-take-2 to main October 21, 2024 15:18
@nedtwigg nedtwigg merged commit b47e70e into main Oct 21, 2024
25 checks passed
@nedtwigg nedtwigg deleted the feat/lintify-steps branch October 21, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant