-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.golangci.yaml
42 lines (38 loc) · 905 Bytes
/
.golangci.yaml
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
run:
concurrency: 4
timeout: 10m
linters:
enable:
- revive
- ginkgolinter
- ineffassign
- misspell
- goimports
- importas
- unused
severity:
default-severity: error
linters-settings:
misspell:
ignore-words:
- strat
- iritable
revive:
severity: error
rules:
- name: exported
arguments:
- disableStutteringCheck
- name: if-return
disabled: true
importas:
alias:
- pkg: github.com/ironcore-dev/ironcore/api/(\w+)/(v[\w\d]+)
alias: $1$2
- pkg: github.com/ironcore-dev/ironcore/internal/apis/(\w+)
alias: $1
- pkg: github.com/ironcore-dev/ironcore/internal/client/(\w+)
alias: ${1}client
issues:
exclude: # Exclude stutter issues (for now)
- "exported: type name will be used as (.+) by other packages, and that stutters; consider calling this (.+)"