Skip to content

Commit 6b7c2d3

Browse files
committed
Move exclude-files to issues section
Tidy up the golangci config file according to the PR discussion in etcd repo Reference: - etcd-io/etcd#17694 (comment) Signed-off-by: Chun-Hung Tseng <[email protected]>
1 parent 29f8611 commit 6b7c2d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: tools/.golangci.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
---
22
run:
33
timeout: 30m
4-
issues.exclude-files: [^zz_generated.*]
54
issues:
65
max-same-issues: 0
76
# Excluding configuration per-path, per-linter, per-text and per-source
87
exclude-rules:
98
# exclude ineffassing linter for generated files for conversion
109
- path: conversion\.go
1110
linters: [ineffassign]
11+
exclude-files:
12+
- ^zz_generated.*
1213
linters:
1314
disable-all: true
1415
enable: # please keep this alphabetized

0 commit comments

Comments
 (0)