Skip to content

Commit 4a1bc2f

Browse files
authored
disable way too aggressive and disagreeable linters (#1445)
1 parent cf2267f commit 4a1bc2f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: go test -race -covermode=atomic -coverprofile="profile.cov" ./...
2525

2626
- name: Send Coverage
27-
if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.23.x'
27+
if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.24.x'
2828
uses: shogo82148/actions-goveralls@v1
2929
with:
3030
path-to-profile: profile.cov
@@ -41,3 +41,4 @@ jobs:
4141
uses: golangci/golangci-lint-action@v8
4242
with:
4343
version: latest
44+
args: --disable noinlineerr,wsl_v5

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ linters-install:
77
}
88

99
lint: linters-install
10-
golangci-lint run
10+
golangci-lint --disable noinlineerr,wsl_v5 run
1111

1212
test:
1313
$(GOCMD) test -cover -race ./...

_examples/validate_fn/go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/peczenyj/validator/_examples/validate_fn
22

3-
go 1.20
3+
go 1.23.0
4+
5+
toolchain go1.24.4
46

57
replace github.com/go-playground/validator/v10 => ../../../validator
68

0 commit comments

Comments
 (0)