Skip to content

Commit

Permalink
Don't attempt to lint genny gen'd code
Browse files Browse the repository at this point in the history
  • Loading branch information
nbroyles committed Jan 4, 2021
1 parent 877fa32 commit fe854e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ run:
# won't be reported. Default value is empty list, but there is
# no need to include all autogenerated files, we confidently recognize
# autogenerated files. If it's not please let us know.
skip-files: []
skip-files:
- ".*_gen.go$"

# by default isn't set. If set we pass it to "go list -mod={option}". From "go help modules":
# If invoked with -mod=readonly, the go command is disallowed from the implicit
Expand Down

0 comments on commit fe854e9

Please sign in to comment.