forked from dose-na-nuvem/customers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yaml
76 lines (71 loc) · 1.38 KB
/
.golangci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# See the detailed configuration at
# https://golangci-lint.run/usage/configuration
# Options for analysis running.
run:
# The default concurrency value is the number of available CPU.
concurrency: 2
timeout: 1m
issues-exit-code: 1
tests: true
build-tags: []
skip-dirs: []
skip-dirs-use-default: true
skip-files: []
modules-download-mode: readonly
allow-parallel-runners: false
# Define the Go version limit.
# Use the same version as the project.
go: "1.19"
# output configuration options
output:
print-issued-lines: true
print-linter-name: true
unique-by-line: true
format: github-actions
linters:
enable-all: false
disable-all: true
fast: true
# List of enabled linters.
# Default: [].
enable:
- bodyclose
- dogsled
- dupl
- errcheck
- exportloopref
- funlen
- gochecknoinits
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
- gomnd
- goprintffuncname
- gosec
- gosimple
- govet
- ineffassign
- lll
- misspell
- nakedret
- noctx
- nolintlint
- revive
- staticcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- whitespace
issues:
exclude-use-default: true
exclude-case-sensitive: false
max-issues-per-linter: 50
max-same-issues: 3
new: false
severity:
default-severity: warning
case-sensitive: false