-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.golangci.yml
More file actions
36 lines (29 loc) · 737 Bytes
/
.golangci.yml
File metadata and controls
36 lines (29 loc) · 737 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
version: 2
linters:
enable:
- thelper
- tparallel
- unconvert
- unparam
- wastedassign
issues:
# Exclude common false positives
exclude-rules:
# Exclude some linters from running on tests files
- path: _test\.go
linters:
- unparam
- wastedassign
run:
# Timeout for analysis
timeout: 5m
# Include test files in analysis
tests: true
# Which dirs to skip: issues from them won't be reported
skip-dirs:
- vendor
# Which files to skip: they will be analyzed, but issues from them won't be reported
skip-files: []
output:
# Format: colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions
format: colored-line-number