-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
New linter errifinline #4385
New linter errifinline #4385
Conversation
Hey, thank you for opening your first Pull Request ! |
In order for a pull request adding a linter to be reviewed, the linter and the PR must follow some requirements.
Pull Request Description
Linter
The Linter Tests Inside Golangci-lint
|
Hi @ldez I didn't find that one when searching, I'll have a look if I can fork ifshort, I'll close this one for now. Thank you! |
Hi,
the
errifinline
linter checks statements such asand ensure the
err := something()
part is inlined in the if's initializer, likeI'd be happy to integrate the linter into the golangci-lint project. Looking forward to your thoughts.
Have a great day!