-
Notifications
You must be signed in to change notification settings - Fork 158
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
Enable misspell, nestif golang linter #2240
Conversation
Thanks for submitting this pull request 🎉. The team will review it soon and get back to you. If you haven't already, please take a moment to review our project contributing guideline and Code of Conduct document. |
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 rebase the commits to show logical progression, i.e., one commit could be to just enable go linting for misspell
and the other commit could be for actually making the linting errors.
Should we also raise separate PRs for enabling each of these linters and fixing them? For instance, one PR could be just for enabling |
@mellon-collie I kept them this way so that we can track which changes were made for which enabled linter respectfully. It would be easy to track things for someone who is making changes in the same code path later. |
Sure, that makes sense. Thanks for clarifying! |
@@ -37,6 +40,8 @@ issues: | |||
- unparam # Tests might have unused function parameters. | |||
- lll | |||
- dupl | |||
- misspell |
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.
I think it is fine to enable misspell
in test file if doesn't require much changes
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.
It does require changes. Enabling these linters for tests would need a lot of extra work. I'll create a separate issue for the same?
Change Overview
This PR enables misspell and nestif golang linters.
Pull request type
Please check the type of change your PR introduces:
Issues
Test Plan