Skip to content

Commit

Permalink
golangci-lint: config syntax to exclude files has changed
Browse files Browse the repository at this point in the history
this silences the following warning:
```
WARN [config_reader] The configuration option `run.skip-files` is deprecated, please use `issues.exclude-files`.
```
  • Loading branch information
joonas-fi committed Apr 16, 2024
1 parent 856c11b commit 8a8b7e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

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

Expand Down

0 comments on commit 8a8b7e9

Please sign in to comment.