summaryrefslogtreecommitdiff
path: root/vendor/github.com/go-faker/faker/v4/.golangci.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/go-faker/faker/v4/.golangci.yaml')
-rw-r--r--vendor/github.com/go-faker/faker/v4/.golangci.yaml60
1 files changed, 60 insertions, 0 deletions
diff --git a/vendor/github.com/go-faker/faker/v4/.golangci.yaml b/vendor/github.com/go-faker/faker/v4/.golangci.yaml
new file mode 100644
index 0000000..0b8124c
--- /dev/null
+++ b/vendor/github.com/go-faker/faker/v4/.golangci.yaml
@@ -0,0 +1,60 @@
+version: "2"
+linters:
+ default: none
+ enable:
+ - errcheck
+ - goconst
+ - gocyclo
+ - govet
+ - ineffassign
+ - misspell
+ - revive
+ - staticcheck
+ - unconvert
+ - unparam
+ - unused
+ settings:
+ dupl:
+ threshold: 100
+ goconst:
+ min-len: 2
+ min-occurrences: 5
+ gocyclo:
+ min-complexity: 70
+ govet:
+ settings:
+ printf:
+ funcs:
+ - (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
+ - (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
+ - (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
+ - (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
+ misspell:
+ locale: US
+ exclusions:
+ generated: lax
+ presets:
+ - comments
+ - common-false-positives
+ - legacy
+ - std-error-handling
+ rules:
+ - linters:
+ - misspell
+ path: person.go
+ - linters:
+ - misspell
+ path: datetime.go
+ - path: .
+ text: parameter 'v' seems to be unused
+ paths:
+ - third_party$
+ - builtin$
+ - examples$
+formatters:
+ exclusions:
+ generated: lax
+ paths:
+ - third_party$
+ - builtin$
+ - examples$