forked from taikoxyz/taiko-mono
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
48 lines (43 loc) · 806 Bytes
/
.golangci.yml
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
# See: https://golangci-lint.run/usage/configuration/
#
# Note: for VSCode, you must have the following settings to use this configuration:
#
# "go.lintTool": "golangci-lint",
# "go.lintFlags": [
# "--fast",
# "--config=${workspaceFolder}/.golangci.yml"
# ],
output:
format: colored-line-number
linters:
enable:
- errcheck
- funlen
- gocognit
- gocritic
- gofmt
# - revive
# - gosec
- gosimple
- lll
- unused
- whitespace
- wsl
linters-settings:
funlen:
lines: 250
statements: 80
gocognit:
min-complexity: 55
issues:
exclude-rules:
# Exclude some linters from running on tests files.
- path: _test\.go
linters:
- funlen
- path: /
linters:
- typecheck
run:
skip-dirs:
- contracts/*