Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat_:
LogOnPanic
linter #5969feat_:
LogOnPanic
linter #5969Changes from all commits
f718e5d
459773e
ed1ee93
1fa4249
7735ef9
cc809f9
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 40 in cmd/lint-panics/analyzer/analyzer.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/analyzer.go#L40
Check warning on line 72 in cmd/lint-panics/analyzer/analyzer.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/analyzer.go#L72
Check warning on line 91 in cmd/lint-panics/analyzer/analyzer.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/analyzer.go#L91
Check warning on line 136 in cmd/lint-panics/analyzer/analyzer.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/analyzer.go#L133-L136
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this be somewhere else to reduce friction to implement a new linter in the future? Seems reusable, not specific of the panic linter.
Well, I guess it might be better to wait for another custom linter to decide on what/how to best split and reuse code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, better to wait for the need for it 👍
Also, this one is quite small, so I'm not sure if we need to extract it.
Check warning on line 145 in cmd/lint-panics/analyzer/analyzer.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/analyzer.go#L145
Check warning on line 151 in cmd/lint-panics/analyzer/analyzer.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/analyzer.go#L150-L151
Check warning on line 160 in cmd/lint-panics/analyzer/analyzer.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/analyzer.go#L159-L160
Check warning on line 174 in cmd/lint-panics/analyzer/analyzer.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/analyzer.go#L174
Check warning on line 210 in cmd/lint-panics/analyzer/analyzer.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/analyzer.go#L209-L210
Check warning on line 216 in cmd/lint-panics/analyzer/analyzer.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/analyzer.go#L215-L216
Check warning on line 228 in cmd/lint-panics/analyzer/analyzer.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/analyzer.go#L228
Check warning on line 22 in cmd/lint-panics/analyzer/config.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/config.go#L22
Check warning on line 36 in cmd/lint-panics/analyzer/config.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/config.go#L36
Check warning on line 42 in cmd/lint-panics/analyzer/config.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/config.go#L42
Check warning on line 52 in cmd/lint-panics/analyzer/config.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/config.go#L52
Check warning on line 56 in cmd/lint-panics/analyzer/config.go
Codecov / codecov/patch
cmd/lint-panics/analyzer/config.go#L56