Skip to content

Adjust existing steps to be lint-friendly - #2305

Merged
nedtwigg merged 9 commits into
mainfrom
feat/lintify-steps
Oct 21, 2024
Merged

Adjust existing steps to be lint-friendly#2305
nedtwigg merged 9 commits into
mainfrom
feat/lintify-steps

Conversation

@nedtwigg

Copy link
Copy Markdown
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).

@nedtwiggnedtwigg mentioned this pull request Oct 21, 2024
Base automatically changed from feat/lint-take-2 to mainOctober 21, 2024 15:18
@nedtwigg
nedtwigg merged commit b47e70e into mainOct 21, 2024
@nedtwigg
nedtwigg deleted the feat/lintify-steps branch October 21, 2024 15:18
Sign up for freeto 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

@nedtwigg