diff --git a/.custom-gcl.yaml b/.custom-gcl.yaml index d696737..d9658b1 100644 --- a/.custom-gcl.yaml +++ b/.custom-gcl.yaml @@ -1,5 +1,5 @@ --- -version: v1.60.3 +version: v1.61.0 plugins: - module: fillmore-labs.com/zerolint-golangci-plugin path: . diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 221abd9..ff0ed5c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,7 +32,7 @@ jobs: - name: 🧸 golangci-lint uses: golangci/golangci-lint-action@v6 with: - version: v1.60.3 + version: v1.61.0 args: --config=.golangci-default.yaml - name: 🔨 Test run: golangci-lint custom -v && ./custom-gcl run -v . diff --git a/.golangci-default.yaml b/.golangci-default.yaml index 9540a81..452ee08 100644 --- a/.golangci-default.yaml +++ b/.golangci-default.yaml @@ -6,6 +6,7 @@ linters: disable: # deprecated - execinquery + - exportloopref - gomnd # disabled - depguard diff --git a/README.md b/README.md index 1745e58..3c14ae7 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,10 @@ Add a file `.custom-gcl.yaml` to your source with ```YAML --- -version: v1.60.3 +version: v1.61.0 plugins: - module: fillmore-labs.com/zerolint-golangci-plugin - version: v0.0.4 + version: v0.0.5 ``` then run `golangci-lint custom`. You get an `custom-gcl` executable that can be configured in `.golangci.yaml`: diff --git a/go.mod b/go.mod index 0377631..6a5c535 100644 --- a/go.mod +++ b/go.mod @@ -1,11 +1,11 @@ module fillmore-labs.com/zerolint-golangci-plugin -go 1.22 +go 1.22.7 -toolchain go1.23.0 +toolchain go1.23.1 require ( - fillmore-labs.com/zerolint v0.0.4 + fillmore-labs.com/zerolint v0.0.5 github.com/golangci/plugin-module-register v0.1.1 - golang.org/x/tools v0.24.0 + golang.org/x/tools v0.25.0 ) diff --git a/go.sum b/go.sum index cdcb6af..9d28b44 100644 --- a/go.sum +++ b/go.sum @@ -1,10 +1,10 @@ -fillmore-labs.com/zerolint v0.0.4 h1:QkypV9GaDDgecOJr3q2bI0EhcKVeV54ngcgGaW0gM2I= -fillmore-labs.com/zerolint v0.0.4/go.mod h1:uzmGDOy06hHUUa6MTkthR8bdAocLhWdRw/f2HfYOegw= +fillmore-labs.com/zerolint v0.0.5 h1:+MuKofZiuKQF6+5Xu0rtE82sVx2UlBcvF/1dK7x6pOQ= +fillmore-labs.com/zerolint v0.0.5/go.mod h1:SOKYmjl0BNu50oBlKGUoAMhY2yepZwbANWCsMbSwLOE= github.com/golangci/plugin-module-register v0.1.1 h1:TCmesur25LnyJkpsVrupv1Cdzo+2f7zX0H6Jkw1Ol6c= github.com/golangci/plugin-module-register v0.1.1/go.mod h1:TTpqoB6KkwOJMV8u7+NyXMrkwwESJLOkfl9TxR1DGFc= -golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= -golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0= +golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24= -golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ= +golang.org/x/tools v0.25.0 h1:oFU9pkj/iJgs+0DT+VMHrx+oBKs/LJMV+Uvg78sl+fE= +golang.org/x/tools v0.25.0/go.mod h1:/vtpO8WL1N9cQC3FN5zPqb//fRXskFHbLKk4OW1Q7rg=