-
Notifications
You must be signed in to change notification settings - Fork 39
golangci-lint: Migrate to v2 #303
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
Conversation
Reviewer's GuideThis pull request migrates the golangci-lint configuration to the v2 schema by updating the Class Diagram: Updated USBMassStorage StructclassDiagram
class USBMassStorage {
+string ImagePath
+bool ReadOnly
+SetReadOnly(bool readOnly) void
+toVz() vz.StorageDeviceConfiguration, error
+AddToVirtualMachineConfig(vmConfig *VirtualMachineConfiguration) error
}
note for USBMassStorage "ReadOnly field is now accessed directly (previously via StorageConfig)."
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey @vyasgun - I've reviewed your changes - here's some feedback:
- Was the removal of the
errcheck
andunused
linters intentional? - Using
presets
underlinters.exclusions
appears non-standard; review ifissues.exclude-rules
might be more appropriate for disabling specific checks.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
bf5471c
to
bf10189
Compare
19a7aed
to
ae6ad83
Compare
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.
Apart from this, looks good to me! |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cfergeau The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This PR does the following: