Replies: 2 comments 2 replies
-
If we are anyway at ~40 % enabled, how about we switch to enable all and then disable those that fail? Then it will be more obvious what we have disabled and we can create specific issues for fixing and enabling those that we care about. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@lentzi90 I actually went for the opposite in IrSO in metal3-io/ironic-standalone-operator#94 but I agree with that, I'm still in time to change it in case we want to experiment there as the lint test is not active yet |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Metal3, golangci-linter works by disabling all linters, and then white-listing the ones that pass.
We have couple issues about enabling more golangci-linters. We have 40+ in CAPM3 and BMO, 30+ in IPAM and 30+ now in IRSO.
There are 50 golangci-linters available white
enable-all: true
, with 100+ in total. We should have a discussion which ones we aim to enable, and then achieve that in all repositories under Metal3. We should also look at the exceptions we've accumulated over the years, and decide if they should be dropped, and if not, document them better.Based on the results of this discussion, I will adjust the linked issues and create new ones as needed.
Beta Was this translation helpful? Give feedback.
All reactions