mirror of
https://github.com/go-gitea/gitea
synced 2025-08-01 23:28:36 +00:00
Upgrade golangci-lint to v1.57.2 (#30401)
Update and adapt to one setting [deprecation](https://github.com/golangci/golangci-lint/pull/4509).
This commit is contained in:
@@ -30,10 +30,6 @@ linters:
|
||||
|
||||
run:
|
||||
timeout: 10m
|
||||
skip-dirs:
|
||||
- node_modules
|
||||
- public
|
||||
- web_src
|
||||
|
||||
linters-settings:
|
||||
stylecheck:
|
||||
@@ -94,6 +90,7 @@ linters-settings:
|
||||
issues:
|
||||
max-issues-per-linter: 0
|
||||
max-same-issues: 0
|
||||
exclude-dirs: [node_modules, public, web_src]
|
||||
exclude-rules:
|
||||
# Exclude some linters from running on tests files.
|
||||
- path: _test\.go
|
||||
|
Reference in New Issue
Block a user