-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
44 lines (41 loc) · 947 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
40
41
42
43
44
run:
concurrency: 0
allow-parallel-runners: true
allow-serial-runners: true
tests: true
go: '1.23'
linters:
enable-all: true
disable:
- goimports # Not needed
- depguard # Not needed
- gci # Encountering issues
- gofmt # Replaced by gofumpt
- nlreturn # Not needed
- wsl # Too strict
- wrapcheck # Not needed
- ireturn # Configuration is bugged
- bodyclose # Lots of false positives
- forcetypeassert # Not needed
- mnd # Not needed
- exhaustruct # Not needed
- exportloopref # Deprecated
linters-settings:
lll:
line-length: 180
gosec:
excludes:
- G404 # We don't need to check for weak number generators
errorlint:
comparison: false # Too strict
revive:
rules:
- name: var-naming
arguments:
- ["IDS"] # Roblox API uses 'userIds'
varnamelen:
min-name-length: 1
dupl:
threshold: 250
funlen:
lines: 150