Skip to content

Commit

Permalink
Exclude vendored code from linting
Browse files Browse the repository at this point in the history
  • Loading branch information
t0yv0 committed Feb 12, 2025
1 parent a3275f1 commit f361992
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 35 deletions.
2 changes: 2 additions & 0 deletions provider-ci/internal/pkg/templates/base/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ linters:
- unused
enable-all: false
issues:
exclude-dirs:
- pkg/vendored
exclude-files:
- schema.go
- pulumiManifest.go
Expand Down
35 changes: 0 additions & 35 deletions provider-ci/internal/pkg/templates/parameterized-go/.golangci.yml

This file was deleted.

2 changes: 2 additions & 0 deletions provider-ci/test-providers/acme/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ linters:
- unused
enable-all: false
issues:
exclude-dirs:
- pkg/vendored
exclude-files:
- schema.go
- pulumiManifest.go
Expand Down
2 changes: 2 additions & 0 deletions provider-ci/test-providers/aws/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ linters:
- unused
enable-all: false
issues:
exclude-dirs:
- pkg/vendored
exclude-files:
- schema.go
- pulumiManifest.go
Expand Down
2 changes: 2 additions & 0 deletions provider-ci/test-providers/cloudflare/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ linters:
- unused
enable-all: false
issues:
exclude-dirs:
- pkg/vendored
exclude-files:
- schema.go
- pulumiManifest.go
Expand Down
2 changes: 2 additions & 0 deletions provider-ci/test-providers/docker/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ linters:
- unused
enable-all: false
issues:
exclude-dirs:
- pkg/vendored
exclude-files:
- schema.go
- pulumiManifest.go
Expand Down
2 changes: 2 additions & 0 deletions provider-ci/test-providers/eks/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ linters:
- unused
enable-all: false
issues:
exclude-dirs:
- pkg/vendored
exclude-files:
- schema.go
- pulumiManifest.go
Expand Down

0 comments on commit f361992

Please sign in to comment.