Skip to content

Commit 0e4d116

Browse files
authored
fix: Disabling the gomnd linter as it is no loger active with the new Go version
1 parent a1570f9 commit 0e4d116

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

.golangci.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,37 @@ issues:
33
max-issues-per-linter: 0
44
new-from-rev: origin/master
55
linters:
6-
presets:
7-
- bugs
8-
- error
9-
- format
10-
- performance
11-
- unused
6+
presets:
7+
- bugs
8+
- error
9+
- format
10+
- performance
11+
- unused
1212
disable:
13-
- maligned
14-
- scopelint
13+
- maligned
14+
- scopelint
15+
- gomnd
1516
enable:
16-
- exportloopref
17-
- goconst
18-
- gocritic
19-
- gocyclo
20-
- gofmt
21-
- gomnd
22-
- goprintffuncname
23-
- gosimple
24-
- lll
25-
- misspell
26-
- nakedret
27-
- promlinter
28-
- revive
17+
- exportloopref
18+
- goconst
19+
- gocritic
20+
- gocyclo
21+
- gofmt
22+
- goprintffuncname
23+
- gosimple
24+
- lll
25+
- misspell
26+
- nakedret
27+
- promlinter
28+
- revive
2929
linters-settings:
3030
gocritic:
3131
enabled-tags:
32-
- "diagnostic"
33-
- "style"
34-
- "performance"
32+
- "diagnostic"
33+
- "style"
34+
- "performance"
3535
disabled-checks:
36-
- "hugeParam"
36+
- "hugeParam"
3737
govet:
3838
check-shadowing: true
3939
lll:

0 commit comments

Comments
 (0)