Skip to content

Commit 0b9ae85

Browse files
committed
unused/unparam
1 parent 61e7400 commit 0b9ae85

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.golangci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ linters:
2929
- funcorder
3030
- exhaustive
3131
- errname # Checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error`.
32-
- unparam # Reports unused function parameters
32+
# - unparam # Reports unused function parameters
3333
- errchkjson # Checks types passed to the json encoding functions. Reports unsupported types and reports occasions, where the check for the returned error can be omitted.
3434

3535
# we allow named returns (to improve readability, in the function signatures)
@@ -322,7 +322,7 @@ linters:
322322
- name: unsecure-url-scheme
323323
disabled: true
324324
- name: unused-parameter
325-
disabled: true
325+
disabled: false
326326
- name: use-any
327327
disabled: true
328328
- name: use-waitgroup-go
@@ -488,6 +488,10 @@ linters:
488488
path: pkg/acquisition/modules/s3/source.go
489489
text: found a struct that contains a context.Context field
490490

491+
- linters:
492+
- unused
493+
text: 'var _ is unused'
494+
491495
# migrate over time
492496

493497
- linters:

0 commit comments

Comments
 (0)