-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yml
More file actions
54 lines (49 loc) · 1.36 KB
/
Copy path.golangci.yml
File metadata and controls
54 lines (49 loc) · 1.36 KB
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
# golangci-lint configuration for ja4plus-go.
#
# The pinned version is v2.12.2. `.github/workflows/ci.yml` installs that version, and
# `make lint` runs it. Move both pins in one commit.
#
# Read every key at <https://golangci-lint.run/usage/configuration/> before you change it.
# The reference file is <https://github.com/golangci/golangci-lint/blob/v2.12.2/.golangci.reference.yml>.
version: "2"
run:
timeout: 5m
linters:
# FR-foundation-3 requires the name of every enabled linter. `none` drops the implicit
# set, so the list below is the whole set.
default: none
enable:
- bodyclose
- copyloopvar
- errcheck
- errorlint
- govet
- ineffassign
- misspell
- staticcheck
- unconvert
- unused
- usetesting
settings:
misspell:
# The maintainer writes US English.
locale: US
staticcheck:
# The list repeats the default set, and it drops the quickfix family. A quickfix
# check proposes a refactoring, and a refactoring belongs to the issue that owns the
# code. The default set is at
# <https://github.com/golangci/golangci-lint/blob/v2.12.2/.golangci.reference.yml>.
checks:
- all
- -QF*
- -ST1000
- -ST1003
- -ST1016
- -ST1020
- -ST1021
- -ST1022
exclusions:
generated: strict
formatters:
enable:
- gofmt