Skip to content

Commit

Permalink
golangci: fix invalid linter-settings configuration name (#7244)
Browse files Browse the repository at this point in the history
* golangci: fix invalid `linter-settings` configuration name

`linters-settings` is the correct configuration name [1].

[1]: https://golangci-lint.run/usage/configuration/#linters-settings-configuration

Signed-off-by: Eng Zer Jun <[email protected]>

* golangci: remove misspell US locale restriction

Signed-off-by: Eng Zer Jun <[email protected]>

---------

Signed-off-by: Eng Zer Jun <[email protected]>
  • Loading branch information
Juneezee authored Jan 4, 2025
1 parent 3568eab commit 79ce575
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,10 @@ issues:
- staticcheck
text: "SA1019"

linter-settings:
linters-settings:
lll:
line-length: 200

misspell:
locale: US

linters:
disable-all: true
enable:
Expand Down

0 comments on commit 79ce575

Please sign in to comment.