|
1 | 1 | --- |
2 | | -version: 2 |
| 2 | +version: "2" |
3 | 3 | # Options for analysis running. |
4 | 4 | run: |
5 | 5 | # Number of operating system threads (`GOMAXPROCS`) that can execute golangci-lint simultaneously. |
|
44 | 44 | # Default: use Go version from the go.mod file, fallback on the env var `GOVERSION`, fallback on 1.17 |
45 | 45 | go: "1.25.0" |
46 | 46 |
|
47 | | -exclusions: |
48 | | - # Which file paths to exclude: they will be analyzed, but issues from them won't be reported. |
49 | | - # "/" will be replaced by the current OS file path separator to properly work on Windows. |
50 | | - # Default: [] |
51 | | - paths: |
52 | | - - "cmd/*/test-*" |
53 | | - |
54 | 47 | linters: |
55 | 48 | # Enable specific linter |
56 | 49 | # https://golangci-lint.run/usage/linters/#enabled-by-default |
@@ -183,10 +176,6 @@ linters: |
183 | 176 | - T backend.IBackendConstrain |
184 | 177 | - m map[string]int |
185 | 178 |
|
186 | | - # Enable only fast linters from enabled linters set (first run won't be fast) |
187 | | - # Default: false |
188 | | - fast: false |
189 | | - |
190 | 179 | formatters: |
191 | 180 | enable: |
192 | 181 | # - gci |
@@ -217,35 +206,8 @@ formatters: |
217 | 206 | # # Default: false |
218 | 207 | # no-lex-order: false |
219 | 208 |
|
220 | | - goimports: |
221 | | - # A comma-separated list of prefixes, which, if set, checks import paths |
222 | | - # with the given prefixes are grouped after 3rd-party packages. |
223 | | - # Default: "" |
224 | | - local-prefixes: github.com/hyp3rd/ewrap |
225 | | - |
226 | | - gofmt: |
227 | | - gofumpt: |
228 | | - # Module path which contains the source code being formatted. |
229 | | - # Default: "" |
230 | | - module-path: github.com/hyp3rd/ewrap |
231 | | - # Choose whether to use the extra rules. |
232 | | - # Default: false |
233 | | - extra-rules: true |
234 | | - |
235 | 209 | # output configuration options |
236 | 210 | output: |
237 | | - # Print lines of code with issue. |
238 | | - # Default: true |
239 | | - print-issued-lines: true |
240 | | - # Print linter name in the end of issue text. |
241 | | - # Default: true |
242 | | - print-linter-name: true |
243 | | - # Add a prefix to the output file references. |
244 | | - # Default: "" |
245 | | - path-prefix: "" |
246 | | - # Sort results by the order defined in `sort-order`. |
247 | | - # Default: false |
248 | | - sort-results: true |
249 | 211 | # Order to use when sorting results. |
250 | 212 | # Require `sort-results` to `true`. |
251 | 213 | # Possible values: `file`, `linter`, and `severity`. |
|
0 commit comments