Skip to content

Commit 03cb98a

Browse files
authored
chore: upgrade all Go packages and Hermit packages (#7)
1 parent fcaa5f2 commit 03cb98a

14 files changed

Lines changed: 48 additions & 41 deletions

.golangci.yml

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ linters:
5252
- prealloc
5353
- forbidigo
5454
- goprintffuncname
55+
- depguard
56+
- intrange
57+
- mnd
58+
- tagalign
5559

5660
linters-settings:
5761
govet:
@@ -74,22 +78,22 @@ issues:
7478
exclude-use-default: false
7579
exclude:
7680
# Captured by errcheck.
77-
- '^(G104|G204):'
81+
- "^(G104|G204):"
7882
# Very commonly not checked.
7983
- 'Error return value of .(.*\.Help|.*\.MarkFlagRequired|(os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*printf?|os\.(Un)?Setenv). is not checked'
8084
- 'exported method (.*\.MarshalJSON|.*\.UnmarshalJSON|.*\.EntityURN|.*\.GoString|.*\.Pos) should have comment or be unexported'
81-
- 'comment on exported method'
82-
- 'composite literal uses unkeyed fields'
85+
- "comment on exported method"
86+
- "composite literal uses unkeyed fields"
8387
- 'declaration of "err" shadows declaration'
84-
- 'should not use dot imports'
85-
- 'Potential file inclusion via variable'
86-
- 'should have comment or be unexported'
87-
- 'comment on exported var .* should be of the form'
88-
- 'at least one file in a package should have a package comment'
89-
- 'string literal contains the Unicode'
90-
- 'methods on the same type should have the same receiver name'
91-
- '_TokenType_name should be _TokenTypeName'
92-
- '`_TokenType_map` should be `_TokenTypeMap`'
93-
- 'rewrite if-else to switch statement'
94-
- 'comment.*should be of the form'
95-
- 'should have comment'
88+
- "should not use dot imports"
89+
- "Potential file inclusion via variable"
90+
- "should have comment or be unexported"
91+
- "comment on exported var .* should be of the form"
92+
- "at least one file in a package should have a package comment"
93+
- "string literal contains the Unicode"
94+
- "methods on the same type should have the same receiver name"
95+
- "_TokenType_name should be _TokenTypeName"
96+
- "`_TokenType_map` should be `_TokenTypeMap`"
97+
- "rewrite if-else to switch statement"
98+
- "comment.*should be of the form"
99+
- "should have comment"
File renamed without changes.
File renamed without changes.

bin/go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.go-1.19.3.pkg
1+
.go-1.24.5.pkg

bin/gofmt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.go-1.19.3.pkg
1+
.go-1.24.5.pkg

bin/golangci-lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.golangci-lint-1.50.1.pkg
1+
.golangci-lint-1.64.8.pkg

bin/goreleaser

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.goreleaser-1.15.0.pkg
1+
.goreleaser-1.26.2.pkg

0 commit comments

Comments
 (0)