Skip to content

Commit 8bc165b

Browse files
committed
Update linter config to current standards
1 parent 4487cd0 commit 8bc165b

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

.golangci.yaml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
# prerequisite:
22
# [install golangci-lint](https://golangci-lint.run/usage/install/#local-installation)
3-
run:
4-
# timeout for analysis, e.g. 30s, 5m, default is 1m
5-
timeout: 5m
6-
7-
skip-files:
8-
- .peg\.go
9-
- .*\.pb\.go
10-
skip-dirs:
11-
- vendor
12-
3+
version: "2"
134
linters:
145
enable:
156
- deadcode
@@ -40,9 +31,3 @@ linters:
4031
- goconst # we allow repeated values to go un-const'd
4132
- lll # we allow any line length
4233
- unparam # we allow function calls to name unused parameters
43-
44-
issues:
45-
exclude-rules:
46-
# Probably some broken linter for generics?
47-
- linters: [ revive ]
48-
text: 'receiver-naming: receiver name \S+ should be consistent with previous receiver name \S+ for invalid-type'

0 commit comments

Comments
 (0)