diff options
author | silverwind <me@silverwind.io> | 2024-04-11 04:40:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-11 02:40:03 +0000 |
commit | e6d3f9fc07d193ce95cf0964f0d12da87156fac9 (patch) | |
tree | d516586d92b56c9b2ba30e33f601ef56ee053c48 /.golangci.yml | |
parent | f0bfad29ea00eea7fd421d51352825aaa931aba8 (diff) | |
download | gitea-e6d3f9fc07d193ce95cf0964f0d12da87156fac9.tar.gz gitea-e6d3f9fc07d193ce95cf0964f0d12da87156fac9.zip |
Upgrade golangci-lint to v1.57.2 (#30401)
Update and adapt to one setting
[deprecation](https://github.com/golangci/golangci-lint/pull/4509).
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/.golangci.yml b/.golangci.yml index d6ce37f49a..5be2cefe44 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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 |