Skip to content

Commit cf0b79a

Browse files
authored
chore: add support for misspell (#2185)
1 parent fe985b6 commit cf0b79a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ linters:
3636
- grouper # An analyzer to analyze expression groups. [fast: true, auto-fix: false]
3737
- importas # Enforces consistent import aliases [fast: false, auto-fix: false]
3838
- mirror # reports wrong mirror patterns of bytes/strings usage [fast: false, auto-fix: false]
39+
- misspell # Finds commonly misspelled English words in comments [fast: true, auto-fix: true]
3940
- nakedret # Finds naked returns in functions greater than a specified function length [fast: true, auto-fix: false]
4041
- nolintlint # Reports ill-formed or insufficient nolint directives [fast: true, auto-fix: false]
4142
- nosprintfhostport # Checks for misuse of Sprintf to construct a host with port in a URL. [fast: true, auto-fix: false]

scw/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ func (c *Client) doListAll(req *ScalewayRequest, res interface{}) (err error) {
352352
return errors.New("%T does not support pagination", res)
353353
}
354354

355-
// doListLocalities collects all localities using mutliple list requests and aggregate all results on a lister response
355+
// doListLocalities collects all localities using multiple list requests and aggregate all results on a lister response
356356
// results is sorted by locality
357357
func (c *Client) doListLocalities(req *ScalewayRequest, res interface{}, localities []string) (err error) {
358358
path := req.Path

0 commit comments

Comments
 (0)