Skip to content

Switch linter to only pick up _new_ issues#6440

Merged
JAORMX merged 1 commit intomindersec:mainfrom
evankanderson:fix-lints
May 5, 2026
Merged

Switch linter to only pick up _new_ issues#6440
JAORMX merged 1 commit intomindersec:mainfrom
evankanderson:fix-lints

Conversation

@evankanderson
Copy link
Copy Markdown
Member

Summary

It turns out that golangci-lint enabled goconst analysis, which flags > 100 strings as "repeated enough times to use a const", breaking lint for all PRs. Switch the check to only apply to new code. I'm also considering pinning the golangci-lint version (as the last two upgrades have done this sort of breakage), but I'm not sure that this wouldn't cause us to simply fall behind and never update.

Testing

We'll see on this PR, which shouldn't flag any issues.

@evankanderson evankanderson requested a review from a team as a code owner May 4, 2026 22:17
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 60.445% (+0.003%) from 60.442% — evankanderson:fix-lints into mindersec:main

@JAORMX JAORMX merged commit 1fe86f9 into mindersec:main May 5, 2026
36 of 37 checks passed
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