-
Notifications
You must be signed in to change notification settings - Fork 212
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
Changed to golangci-lint and introduced LintChanges command #3057
Changed to golangci-lint and introduced LintChanges command #3057
Conversation
Signed-off-by: David Gannon <19214156+dgannon991@users.noreply.github.com>
89d2c6e
to
b6d5ee0
Compare
@schristoff - this will need the previous PR approving first, then a tweak from me, then I can publish it (if I've understood properly, shout if I've got that wrong!) As part of this, I changed the pipeline check to run LintChanges instead of just Lint, as the project currently has many lint issues, and it looks like it'll take a fair bit of work to fix them all. Happy if you'd rather I do them all in a one, but this approach seemed safer, as it'll force you to tidy up each file as it's worked on :) |
I'm going to guess |
Signed-off-by: David Gannon <19214156+dgannon991@users.noreply.github.com>
Signed-off-by: David Gannon <19214156+dgannon991@users.noreply.github.com>
Signed-off-by: David Gannon <19214156+dgannon991@users.noreply.github.com>
Signed-off-by: David Gannon <19214156+dgannon991@users.noreply.github.com>
Signed-off-by: David Gannon <19214156+dgannon991@users.noreply.github.com>
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.
Wow, this looks like a lot. Thank you for working on this!!!!
What does this change
Swapped to using golangci-lint as it's much more thorough. Also introduced a new command for LintChanges as there are LOTS of errors in the existing codebase.
What issue does it fix
Closes #3048
Notes for the reviewer
The prerequisite PR (getporter/magefiles#36) will need to be merged first. Then I can update this one to use the correct version of the magefile.
Checklist