Skip to content

Commit c21a6eb

Browse files
Merge pull request #2160 from JoelSpeed/update-kal
Update KAL to introduce statussubresource and maxlength linters
2 parents f7ed4f5 + 5c608cf commit c21a6eb

File tree

14 files changed

+566
-30
lines changed

14 files changed

+566
-30
lines changed

.golangci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ linters-settings:
66
settings:
77
linters:
88
enable:
9+
- "maxlength"
910
- "nobools"
11+
- "statussubresource"
1012
lintersConfig:
1113
conditions:
1214
isFirstField: Warn

tools/.custom-gcl.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name: golangci-kal
33
destination: ./bin
44
plugins:
55
- module: 'github.com/JoelSpeed/kal'
6-
version: v0.0.0-20250106180308-e8da2ea1f7d6
6+
version: v0.0.0-20250121143106-304c215e474e

tools/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ toolchain go1.23.0
66

77
require (
88
cloud.google.com/go/storage v1.43.0
9-
github.com/JoelSpeed/kal v0.0.0-20250106180308-e8da2ea1f7d6
9+
github.com/JoelSpeed/kal v0.0.0-20250121143106-304c215e474e
1010
github.com/dave/dst v0.27.3
1111
github.com/ghodss/yaml v1.0.0
1212
github.com/go-git/go-git/v5 v5.12.0

tools/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 h1:sHglBQTwgx+rW
3838
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs=
3939
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.0 h1:/fTUt5vmbkAcMBt4YQiuC23cV0kEsN1MVMNqeOW43cU=
4040
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.0/go.mod h1:ONJg5sxcbsdQQ4pOW8TGdTidT2TMAUy/2Xhr8mrYaao=
41-
github.com/JoelSpeed/kal v0.0.0-20250106180308-e8da2ea1f7d6 h1:pPsDHlxzk8fMcDtRnoDjOFeOuEwOjRwxyMgjOGN0DNQ=
42-
github.com/JoelSpeed/kal v0.0.0-20250106180308-e8da2ea1f7d6/go.mod h1:zptAqBcJGHljQfJR7oQXVKS/E6KVUFZDkE7OJDQeKOw=
41+
github.com/JoelSpeed/kal v0.0.0-20250121143106-304c215e474e h1:H7jNmU1/bzAi4YFVpRPUzE3hzcrOCk1H6qJpLVCAPaI=
42+
github.com/JoelSpeed/kal v0.0.0-20250121143106-304c215e474e/go.mod h1:zptAqBcJGHljQfJR7oQXVKS/E6KVUFZDkE7OJDQeKOw=
4343
github.com/Masterminds/semver/v3 v3.3.0 h1:B8LGeaivUe71a5qox1ICM/JLl0NqZSW5CHyL+hmvYS0=
4444
github.com/Masterminds/semver/v3 v3.3.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM=
4545
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=

tools/vendor/github.com/JoelSpeed/kal/README.md

Lines changed: 36 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/vendor/github.com/JoelSpeed/kal/pkg/analysis/helpers/markers/analyzer.go

Lines changed: 51 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)