Skip to content
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 lll, nakedret, asciicheck, depguard, dogsled, dupl, exportloopref golang linters #2238

Merged
merged 22 commits into from
Dec 20, 2023

Conversation

ankitjain235
Copy link
Contributor

@ankitjain235 ankitjain235 commented Aug 3, 2023

Change Overview

This PR enables following Golang linters:

  • lll
  • nakedret
  • asciicheck
  • depguard
  • dogsled
  • dupl
  • exportloopref

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • 🐛 Bugfix
  • 🌻 Feature
  • 🗺️ Documentation
  • 🤖 Test

Issues

  • fixes #issue-number

Test Plan

@github-actions
Copy link
Contributor

github-actions bot commented Aug 3, 2023

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.

@ankitjain235 ankitjain235 changed the title Add lll linter Enable go linter - PR#2 Aug 3, 2023
@ankitjain235 ankitjain235 marked this pull request as ready for review August 3, 2023 15:29
@ankitjain235 ankitjain235 changed the title Enable go linter - PR#2 Enable lll, nakedret, asciicheck, depguard, dogsled, dupl, exportloopref golang linters Dec 1, 2023
Base automatically changed from enable-linters-1 to master December 4, 2023 05:57
Copy link
Contributor

@r4rajat r4rajat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pavannd1 pavannd1 removed the request for review from viveksinghggits December 4, 2023 19:26
@pavannd1 pavannd1 requested a review from hairyhum December 4, 2023 19:26
Copy link
Contributor

@PrasadG193 PrasadG193 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left minor suggestions and a question. Otherwise looks good

@ankitjain235 ankitjain235 mentioned this pull request Dec 8, 2023
10 tasks
Copy link
Contributor

@PrasadG193 PrasadG193 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mergify mergify bot merged commit f3e91ee into master Dec 20, 2023
14 checks passed
@mergify mergify bot deleted the enable-linters-2 branch December 20, 2023 09:19
@ankitjain235 ankitjain235 linked an issue Dec 21, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add more linters to golangci.yaml
3 participants