Skip to content

Commit

Permalink
Merge pull request #111 from negz/dirtygen
Browse files Browse the repository at this point in the history
Don't lint generated files
  • Loading branch information
negz authored Jan 31, 2020
2 parents a69d3c0 + e41c4d2 commit fa31e7a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
run:
deadline: 2m

skip-files:
- "zz_generated\\..+\\.go$"

output:
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
format: colored-line-number
Expand Down
2 changes: 1 addition & 1 deletion apis/core/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build

0 comments on commit fa31e7a

Please sign in to comment.