aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-04-11 04:40:03 +0200
committerGitHub <noreply@github.com>2024-04-11 02:40:03 +0000
commite6d3f9fc07d193ce95cf0964f0d12da87156fac9 (patch)
treed516586d92b56c9b2ba30e33f601ef56ee053c48 /.golangci.yml
parentf0bfad29ea00eea7fd421d51352825aaa931aba8 (diff)
downloadgitea-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.yml5
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