Skip to content

Panics should not prevent other lints from running#914

Merged
christopher-henderson merged 3 commits intomasterfrom
panic_protection
Feb 8, 2025
Merged

Panics should not prevent other lints from running#914
christopher-henderson merged 3 commits intomasterfrom
panic_protection

Conversation

@christopher-henderson
Copy link
Copy Markdown
Member

Although it hasn't been an issue (that I'm aware of), it is possible for a single lint crash the entire program. I reckon that these panics should simply be converted into a lint.Fatal for that one lint so that life can move on and unblock the rest of the linter.

@christopher-henderson christopher-henderson merged commit 62639df into master Feb 8, 2025
8 checks passed
@christopher-henderson christopher-henderson deleted the panic_protection branch February 8, 2025 15:33
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