-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add exportloopref linter #1163
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
Add exportloopref linter #1163
Conversation
07c2097 to
8121e86
Compare
jirfag
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool, thank you!
pkg/lint/lintersdb/manager.go
Outdated
| WithPresets(linter.PresetComplexity). | ||
| WithURL("https://github.com/nakabonne/nestif"), | ||
| linter.NewConfig(golinters.NewExportLoopRef()). | ||
| WithPresets(linter.PresetStyle). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't it bugs preset?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are right, bugs present is more appropriate 💯
ernado
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please address the comments, just two minor points
- Change to PresentBugs - Update URL with https
Fixes #1041