forked from okx/xlayer-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yml
More file actions
37 lines (34 loc) · 744 Bytes
/
.golangci.yml
File metadata and controls
37 lines (34 loc) · 744 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
---
run:
timeout: 5m
skip-dirs:
- state/runtime/fakevm
- state/runtime/instrumentation
- test
- ci
linters:
enable:
- whitespace
- gosec
- gci
- misspell
- gomnd
- gofmt
- goimports
- revive
- unconvert
linters-settings:
revive:
rules:
- name: exported
arguments:
- disableStutteringCheck
issues:
include:
- EXC0012 # EXC0012 revive: Annoying issue about not having a comment. The rare codebase has such comments
- EXC0014 # EXC0014 revive: Annoying issue about not having a comment. The rare codebase has such comments
exclude:
# gosec
- "G401: Use of weak cryptographic primitive"
# gosec
- "G501: Blocklisted import crypto/md5: weak cryptographic primitive"