aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/go-faker/faker/v4/.golangci.bck.yaml
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-02-05 00:37:32 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-02-05 00:37:32 +0100
commit6960aecc25400320adee1b8802a86839326e15b6 (patch)
tree334f7ca9491080a5e6f9a9747da77281c4958ba2 /vendor/github.com/go-faker/faker/v4/.golangci.bck.yaml
downloadhepi-6960aecc25400320adee1b8802a86839326e15b6.tar.gz
Engage!
Diffstat (limited to 'vendor/github.com/go-faker/faker/v4/.golangci.bck.yaml')
-rw-r--r--vendor/github.com/go-faker/faker/v4/.golangci.bck.yaml53
1 files changed, 53 insertions, 0 deletions
diff --git a/vendor/github.com/go-faker/faker/v4/.golangci.bck.yaml b/vendor/github.com/go-faker/faker/v4/.golangci.bck.yaml
new file mode 100644
index 0000000..e15388b
--- /dev/null
+++ b/vendor/github.com/go-faker/faker/v4/.golangci.bck.yaml
@@ -0,0 +1,53 @@
1linters-settings:
2 govet:
3 settings:
4 printf:
5 funcs:
6 - (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
7 - (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
8 - (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
9 - (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
10 gocyclo:
11 min-complexity: 70
12 dupl:
13 threshold: 100
14 goconst:
15 min-len: 2
16 min-occurrences: 5
17 misspell:
18 locale: US
19
20linters:
21 # please, do not use `enable-all`: it's deprecated and will be removed soon.
22 # inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
23 disable-all: true
24 enable:
25 # - deadcode
26 - errcheck
27 - goconst
28 - gocyclo
29 - revive
30 - gosimple
31 - govet
32 - ineffassign
33 - misspell
34 - staticcheck
35 # - structcheck
36 - typecheck
37 - unconvert
38 - unparam
39 - unused
40 # - varcheck
41
42issues:
43 exclude-rules:
44 - path: person.go # since in the person.go there are so many names that may detected as misspell
45 linters:
46 - misspell
47 - path: datetime.go
48 linters:
49 - misspell
50 - path: .
51 text: "parameter 'v' seems to be unused"
52run:
53 timeout: 5m