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

rules: add emptyError rule #208

Merged
merged 1 commit into from
Feb 3, 2021
Merged

Conversation

quasilyte
Copy link
Owner

Give a warning for these patterns:

fmt.Errorf("")
errors.New("")

Give a warning for these patterns:

	fmt.Errorf("")
	errors.New("")
@quasilyte quasilyte merged commit b223e08 into master Feb 3, 2021
@quasilyte quasilyte deleted the quasilyte/rules/add_empty_error branch February 3, 2021 16:29
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