Skip to content

Commit 494eb88

Browse files
committed
fix: update .golangci.yml to v2 configuration format
- Migrate from v1 'issues.exclude-rules' to v2 'linters.exclusions.rules' - Fix configuration validation error
1 parent d3d8f74 commit 494eb88

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.golangci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
version: "2"
22

3-
issues:
4-
exclude-rules:
5-
- linters:
6-
- staticcheck
7-
text: "SA1019:"
3+
linters:
4+
exclusions:
5+
rules:
6+
- linters:
7+
- staticcheck
8+
text: "SA1019:"

0 commit comments

Comments
 (0)