Skip to content

Commit 8a8b7e9

Browse files
committed
golangci-lint: config syntax to exclude files has changed
this silences the following warning: ``` WARN [config_reader] The configuration option `run.skip-files` is deprecated, please use `issues.exclude-files`. ```
1 parent 856c11b commit 8a8b7e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .golangci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
run:
3-
skip-files:
2+
issues:
3+
exclude-files:
44
# golangci-lint doesn't recognize our generated files (*.gen.go)
55
- ".+\\.gen\\.go$"
66

0 commit comments

Comments
 (0)