-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy path.golangci.yml
More file actions
48 lines (42 loc) · 809 Bytes
/
.golangci.yml
File metadata and controls
48 lines (42 loc) · 809 Bytes
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
version: 2
run:
timeout: 5m
tests: true
linters-settings:
gofmt:
simplify: true
goimports:
local-prefixes: github.com/substantialcattle5/sietch
linters:
enable:
# Core linters - essential for code quality
- govet
- staticcheck
- unused
- ineffassign
# Basic code quality
- misspell
disable:
# Disable noisy linters for minimal CI
- errcheck
formatters:
enable:
- gofmt
- goimports
issues:
exclude-dirs:
- vendor
- test_vaults
exclude-files:
- ".*\\.pb\\.go$"
- ".*_gen\\.go$"
exclude-rules:
# Be more lenient with test files
- path: _test\.go
linters:
- staticcheck
# Exclude generated files from formatting rules
- path: \.pb\.go
linters:
- gofmt
- goimports