Skip to content

Conversation

@babakks
Copy link
Member

@babakks babakks commented Jan 7, 2026

Fixes #12439

Signed-off-by: Babak K. Shandiz <babakks@github.com>
@babakks babakks requested a review from a team as a code owner January 7, 2026 15:00
@babakks babakks requested review from BagToad and Copilot January 7, 2026 15:00
@babakks babakks linked an issue Jan 7, 2026 that may be closed by this pull request
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances the golangci-lint configuration by enabling additional "noop" linters (linters that don't produce errors in the current codebase). The configuration has been reorganized to include inline documentation describing each linter's purpose.

  • Adds 12 new linters to catch potential issues: asasalint, asciicheck, bidichk, exptostd, fatcontext, gocheckcompilerdirectives, gochecksumtype, gomoddirectives, goprintffuncname, nosprintfhostport, reassign, and unused
  • Maintains all 8 previously enabled linters: bodyclose, copyloopvar, durationcheck, gocritic, govet, ineffassign, nilerr, and nolintlint
  • Adds descriptive inline comments for each linter to improve configuration maintainability

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Babak K. Shandiz <babakks@github.com>
Copy link
Member

@BagToad BagToad left a comment

Choose a reason for hiding this comment

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

LGTM - makes sense to start with noop linters

@babakks babakks merged commit c858c52 into trunk Jan 7, 2026
9 checks passed
@babakks babakks deleted the babakks/enable-noop-linters branch January 7, 2026 22:11
Copy link

@lumina-bulige-dev lumina-bulige-dev left a comment

Choose a reason for hiding this comment

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


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.

Enable already compliant linters

4 participants