Compare commits

...

1 Commits

Author SHA1 Message Date
fatedier
3b7da78059 update golangci-lint version 2025-07-25 16:59:54 +08:00
2 changed files with 4 additions and 11 deletions

View File

@@ -23,14 +23,4 @@ jobs:
uses: golangci/golangci-lint-action@v8
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v2.1
# Optional: golangci-lint command line arguments.
# args: --issues-exit-code=0
# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true
# Optional: if set to true then the all caching functionality will be complete disabled,
# takes precedence over all other caching options.
# skip-cache: true
version: v2.3

View File

@@ -73,6 +73,9 @@ linters:
- linters:
- revive
text: unused-parameter
- linters:
- revive
text: "avoid meaningless package names"
- linters:
- unparam
text: is always false