Skip to content

Commit ffaace1

Browse files
committed
Update .golangci.yml
remove incompatible "unused" settings from linters-settings: struct as per the golangci-lint failure recommendation. ``` Error: Command failed: /home/runner/golangci-lint-1.60.2-linux-amd64/golangci-lint config verify jsonschema: "linters-settings.unused" does not validate with "/properties/linters-settings/properties/unused/additionalProperties": additionalProperties 'go' not allowed Failed executing command with error: the configuration contains invalid elements ```
1 parent 74e11a1 commit ffaace1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

.golangci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,6 @@ linters-settings:
174174
- name: exported
175175
arguments:
176176
- disableStutteringCheck
177-
unused:
178-
go: "1.22"
179-
180177
issues:
181178
exclude-files:
182179
- 'zz_generated\.(\w*)\.go$'

0 commit comments

Comments
 (0)