- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.4k
 
🌱 Bump golangci-lint v2 #12088
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
🌱 Bump golangci-lint v2 #12088
Conversation
| 
           /hold  | 
    
d79565d    to
    de82fdf      
    Compare
  
    2b74f5d    to
    988c2a5      
    Compare
  
    | 
           /assign @chrischdi  | 
    
988c2a5    to
    d183f07      
    Compare
  
    7e874af    to
    15b826a      
    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.
@sivchari Thank you, great work!
Sorry for the delay, I'm just back from PTO. If you have time, would appreciate a quick follow-up to unblock some other PRs in our pipeline
Signed-off-by: sivchari <[email protected]>
| 
           @sbueringer  | 
    
| 
           No worries. I suspected something like that, given the re-orderings in the config files  | 
    
| 
           @sivchari Almost there, please check the conversations above. I unresolved some  | 
    
Signed-off-by: sivchari <[email protected]>
Signed-off-by: sivchari <[email protected]>
Signed-off-by: sivchari <[email protected]>
648664c    to
    f5bfe34      
    Compare
  
    Signed-off-by: sivchari <[email protected]>
faf44d5    to
    bad2b67      
    Compare
  
    | 
           Okay, if CI is green now I'm going to merge this PR after #12148 is merged  | 
    
| 
           /lgtm  | 
    
| 
           LGTM label has been added. Git tree hash: 702ec0ed2e8ae771d366835c6790299e0cb3ec6a 
       | 
    
| 
           /approve  | 
    
| 
           /lgtm  | 
    
| 
           [APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini, sbueringer 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   | 
    
* migrate .golangci.yml for v2 Signed-off-by: sivchari <[email protected]> * fix lint error Signed-off-by: sivchari <[email protected]> * migrate golangci-lint-kal for v2 Signed-off-by: sivchari <[email protected]> * restore GOLANGCI_LINT_VER Signed-off-by: sivchari <[email protected]> * re-fix: upstream lint error Signed-off-by: sivchari <[email protected]> * preserve comments Signed-off-by: sivchari <[email protected]> * fix review points Signed-off-by: sivchari <[email protected]> * move exclude-use-default correctly Signed-off-by: sivchari <[email protected]> * use presets instead Signed-off-by: sivchari <[email protected]> * restore comment Signed-off-by: sivchari <[email protected]> * remove presets Signed-off-by: sivchari <[email protected]> --------- Signed-off-by: sivchari <[email protected]>
What this PR does / why we need it:
golangci-lint v2 is already released and it's so helpful to maintain codebase until now and from now on, so let's migrate it from v1 to v2.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #12087
/kind cleanup
/kind bug
/area ci