Skip to content

Conversation

@jacoblerner-czi
Copy link
Contributor

@jacoblerner-czi jacoblerner-czi commented Mar 27, 2025

CCIE-4307
Summary Fix Happy Linter
Type Sub-task Sub-task
Status In Progress

Lint had a breaking change a while back involving depguard drastically rewriting the structure of its config (golangci/golangci-lint#3906) . I took a stab at rewriting to meet the new standard (https://golangci-lint.run/usage/linters/#depguard) but in realizing what this specific linter did, it didn't seem worth debugging the associated versioning and formatting issues. As this specific linter was primarily being used to ensure we were not using incorrect error packages, and doesn't otherwise monitor the health of the application, I think it can be safely removed. It's more important to get this linter passing overall so that we can push through dependabot fixes.

Lint had a breaking change a while back involving depguard drastically rewriting the structure of its config (golangci/golangci-lint#3906) . I took a stab at rewriting to meet the new standard (https://golangci-lint.run/usage/linters/#depguard) but in realizing what this specific linter did, it didn't seem worth debugging the associated versioning and formatting issues. As this specific linter was primarily being used to ensure we were not using incorrect error packages, and doesn't otherwise monitor the health of the application, I think it can be safely removed. It's more important to get this linter passing overall so that we can push through dependabot fixes.
@jacoblerner-czi jacoblerner-czi requested a review from a team as a code owner March 27, 2025 16:34
@jacoblerner-czi jacoblerner-czi requested review from alexlokshin-czi and removed request for a team March 27, 2025 16:34
@github-actions
Copy link
Contributor

No Jira issue reference found in branch, title, or body of PR.

Please add a reference to a Jira issue in the form of CCIE-#### (eg: CCIE-1400) to the branch name, title, or body of your PR.

@jacoblerner-czi jacoblerner-czi changed the title fix: remove depguard from happy linter fix: remove depguard from happy linter (CCIE-4307) Mar 27, 2025
@jacoblerner-czi jacoblerner-czi merged commit 1d62f8b into main Mar 27, 2025
33 of 34 checks passed
@jacoblerner-czi jacoblerner-czi deleted the jacoblerner-czi-patch-2 branch March 27, 2025 20:31
@czi-github-helper czi-github-helper bot mentioned this pull request Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants