File tree 2 files changed +2
-12
lines changed
2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,7 @@ linters-settings:
28
28
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
29
29
lll :
30
30
line-length : 250
31
- maligned :
32
- suggest-new : true
33
31
nolintlint :
34
- allow-leading-space : false # disallow leading spaces. A space means the //nolint comment shows in `godoc` output.
35
32
allow-unused : false # report any unused nolint directives
36
33
require-explanation : false # do not require an explanation for nolint directives
37
34
require-specific : true # require nolint directives to be specific about which linter is being skipped
@@ -106,10 +103,3 @@ issues:
106
103
text : " unnecessaryDefer:"
107
104
# Ignore static strings in tests
108
105
109
-
110
- # golangci.com configuration
111
- # https://github.com/golangci/golangci/wiki/Configuration
112
- service :
113
- golangci-lint-version : 1.64.x # use the fixed version to not introduce new linters unexpectedly
114
- prepare :
115
- - echo "here I can run custom commands, but no preparation needed for this repo"
Original file line number Diff line number Diff line change @@ -132,8 +132,8 @@ golangci-lint:
132
132
}
133
133
134
134
.PHONY : lint
135
- lint : golangci-lint # # Run golangci-lint linter & yamllint
136
- $(GOLANGCI_LINT ) run --timeout 10m0s
135
+ lint : golangci-lint # # Run all linters
136
+ $(GOLANGCI_LINT ) config verify && $( GOLANGCI_LINT ) run --timeout 10m0s
137
137
checkmake --config=.checkmake Makefile
138
138
hadolint Dockerfile
139
139
# shfmt -d *.sh script
You can’t perform that action at this time.
0 commit comments