Skip to content

chore: disable unparam linter#266

Merged
cheyang merged 1 commit intosgl-project:mainfrom
Syspretor:chore/disable-unparam-linter
Apr 10, 2026
Merged

chore: disable unparam linter#266
cheyang merged 1 commit intosgl-project:mainfrom
Syspretor:chore/disable-unparam-linter

Conversation

@Syspretor
Copy link
Copy Markdown
Collaborator

Ⅰ. Motivation

Ⅱ. Modifications

Ⅲ. Does this pull request fix one issue?

fixes #XXXX

Ⅳ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.

Ⅴ. Describe how to verify it

VI. Special notes for reviews

Checklist

  • Format your code make fmt.
  • Add unit tests or integration tests.
  • Update the documentation related to the change.

@Syspretor Syspretor requested a review from cheyang April 10, 2026 07:50
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes the unparam linter from the project's .golangci.yml configuration. The review feedback advises against disabling this linter globally, as it helps identify unused function parameters and prevents dead code; it is recommended to use more granular exclusion rules or inline linter directives instead.

Comment thread .golangci.yml
Copy link
Copy Markdown
Collaborator

@cheyang cheyang left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@cheyang cheyang merged commit 3a3d4ec into sgl-project:main Apr 10, 2026
9 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.

2 participants