File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ linters:
66 - misspell
77 - ineffassign
88 - typecheck
9- - varcheck
9+ # - varcheck
1010 - unused
11- - structcheck
12- - deadcode
11+ # - structcheck
12+ # - deadcode
1313 - gosimple
1414 - goimports
1515 - errcheck
@@ -18,7 +18,8 @@ linters:
1818 - gosec
1919 - asciicheck
2020 - bodyclose
21- - exportloopref
21+ # - exportloopref
22+ - copyloopvar
2223 - rowserrcheck
2324 - unconvert
2425 - makezero
@@ -38,3 +39,6 @@ issues:
3839 - gosec
3940 - rowserrcheck
4041 - makezero
42+ - linters :
43+ - gosec
44+ text : " G115:"
Original file line number Diff line number Diff line change @@ -48,4 +48,4 @@ lint: tools/bin/golangci-lint
4848 GO111MODULE=on tools/bin/golangci-lint run -v $$($(PACKAGE_DIRECTORIES ) ) --config .golangci.yml
4949
5050tools/bin/golangci-lint :
51- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b ./tools/bin v1.55.2
51+ curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b ./tools/bin v1.61.0
Original file line number Diff line number Diff line change 11module github.com/pingcap/ng-monitoring
22
3- go 1.21
3+ go 1.23
44
55require (
66 github.com/BurntSushi/toml v1.3.2
You can’t perform that action at this time.
0 commit comments