We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
nlreturn
Enable the nlreturn linter in .golangci.yaml and address all identified issues by make lint afterwards.
.golangci.yaml
make lint
Enable nlreturn in .golangci.yaml file and run make lint
N/A
In .golangci.yaml
enable: - govet - staticcheck - errcheck - nlreturn
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature Description
Enable the
nlreturn
linter in.golangci.yaml
and address all identified issues bymake lint
afterwards.Use Case
Enabling the
nlreturn
linter ensures return statements are followed by a newline for better readability.Proposed Solution
Enable
nlreturn
in.golangci.yaml
file and runmake lint
Additional Context
N/A
Pseudo Code
In
.golangci.yaml
The text was updated successfully, but these errors were encountered: