initial commit
This commit is contained in:
37
.golangci.yml
Normal file
37
.golangci.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
|
||||
|
||||
linters:
|
||||
enable:
|
||||
- errcheck
|
||||
- gci
|
||||
- goconst
|
||||
- gofmt
|
||||
- gosec
|
||||
- govet
|
||||
- ineffassign
|
||||
- lll
|
||||
- gosimple
|
||||
- staticcheck
|
||||
- misspell
|
||||
- nakedret
|
||||
- revive
|
||||
- unconvert
|
||||
- unused
|
||||
enable-all: false
|
||||
issues:
|
||||
exclude-dirs:
|
||||
- pkg/vendored
|
||||
exclude-files:
|
||||
- schema.go
|
||||
- pulumiManifest.go
|
||||
run:
|
||||
timeout: 20m
|
||||
linters-settings:
|
||||
gci:
|
||||
sections:
|
||||
- standard # Standard section: captures all standard library packages.
|
||||
- blank # Blank section: contains all blank imports.
|
||||
- default # Default section: contains all imports that could not be matched to another section type.
|
||||
- prefix(github.com/pulumi/) # Custom section: groups all imports with the github.com/pulumi/ prefix.
|
||||
- prefix(github.com/pulumi/pulumi-xyz) # Custom section: local imports
|
||||
custom-order: true
|
||||
Reference in New Issue
Block a user