forked from openshift/lightspeed-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci2.yaml
More file actions
38 lines (32 loc) · 694 Bytes
/
.golangci2.yaml
File metadata and controls
38 lines (32 loc) · 694 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
version: "2" # ← mandatory for v2.x
run:
timeout: 5m
tests: false
modules-download-mode: readonly
output:
formats:
colored-line-number:
path: stdout
sort-results: true
llinters:
default: none
enable:
- errcheck
- gosimple
- govet
- gosec
- ineffassign
- staticcheck
- unused
formatters:
enable:
- goimports # <-- moved here
settings:
goimports:
local-prefixes: github.com/openshift/lightspeed-operator
linters-settings:
goimports:
local-prefixes: github.com/openshift/lightspeed-operator
issues:
exclude-dirs:
- test/