aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2024-09-09 14:33:10 +0200
committerTaras Madan <tarasmadan@google.com>2024-09-09 15:00:29 +0000
commit557b2fbd1fd1497e9a0374ee8893a9e9c264b65d (patch)
tree69755ddec3e82be80c784862dbc38a95b14c4cc9 /.golangci.yml
parentdd9c7e97e4a8e72cd9db3f6f2ab2a665527d772f (diff)
golangci.yml: move deprecated skip-dirs to exclude-dirs
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 67debd4c1..04551758b 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -3,11 +3,8 @@
run:
deadline: 8m
- skip-dirs:
- - pkg/kd
- - tools/syz-trace2syz
# Autogenerated files take too much time and memory to load,
- # even if we skip them with skip-dirs.
+ # even if we skip them with issues.exclude-dirs.
# So we define this tag and use it in the autogenerated files.
build-tags:
- codeanalysis
@@ -104,6 +101,9 @@ linters-settings:
issues:
exclude-use-default: false
+ exclude-dirs:
+ - pkg/kd
+ - tools/syz-trace2syz
max-same-issues: 0
exclude:
- "exported .* should have comment"