forked from SixtyAI/cli-o-mat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
39 lines (37 loc) · 898 Bytes
/
.golangci.yml
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
linters-settings:
errcheck:
check-type-assertions: true
check-blank: true
govet:
# shadow: true
enable-all: true
gofmt:
simplify: true
gofumpt:
# TODO: Set up a `run.go` file?
# lang-version: "1.21"
extra-rules: true
gci:
sections:
- standard
- prefix(github.com/SixtyAI)
- default
nolintlint:
allow-unused: false
require-explanation: false
require-specific: true
linters:
enable-all: true
disable:
- execinquery # Deprecated
- gomnd # Deprecated
# The following are turned off because I'm not sure they're helpful:
- exhaustruct
- forbidigo
# Turning this off because it's in conflict with gofmt:
- nolintlint
# Turning this off because we're not ready for that level of overhead.
- depguard # See: https://github.com/OpenPeeDeeP/depguard
issues:
max-issues-per-linter: 0
max-same-issues: 0