-
Notifications
You must be signed in to change notification settings - Fork 112
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
chore(lint): check each //nolint
and improve them
#2047
Conversation
Codecov Report
@@ Coverage Diff @@
## development #2047 +/- ##
===============================================
+ Coverage 59.94% 60.23% +0.29%
===============================================
Files 185 194 +9
Lines 26343 26589 +246
===============================================
+ Hits 15790 16016 +226
- Misses 8677 8692 +15
- Partials 1876 1881 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
🎉 This PR is included in version 0.6.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
- remove unneeded `//nolint` comments - fix some of the lint-ignored errors - specify a linter that should be ignored as `//nolint:lintername` - add `nolintlint` linter to detect future unused `//nolint` comments - move exclude rules from golangci.yml to inlined `//nolint` so `nolintlint` can pick them up.
Changes
//nolint
comments//nolint:lintername
nolintlint
linter to detect future unused//nolint
comments//nolint
sonolintlint
can pick them up.The idea behind those changes was to find potential code issues that could be the root of the memory issue
Tests
Issues
Primary Reviewer