Skip to content

Commit 1938673

Browse files
butuzovldez
andauthored
docs: Apply suggestions from code review
Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com>
1 parent fa4d2e0 commit 1938673

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.golangci.example.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -448,14 +448,14 @@ linters-settings:
448448
alias: $1$2
449449

450450
ireturn:
451-
# ireturn allows to use either `allow` or `reject` settings at the same time.
452-
# both settings are a lists of the keywords (`empty` for interface{}`,
453-
# `error` for errors, `stdlib` for standard library, `anon` for anonymouse
454-
# interfaces ) and reglar expresssions matched to interfaces or packages.
451+
# ireturn allows using either `allow` or `reject` settings at the same time.
452+
# both settings are lists of the keywords (`empty` for interface{}`,
453+
# `error` for errors, `stdlib` for standard library, `anon` for anonymous
454+
# interfaces ) and regular expressions matched to interfaces or packages.
455455

456456
allow:
457-
# default settings are allow to use errors, empty interfaces, anonymouse
458-
# interfaces, and interfaces provided by standard library.
457+
# default settings are allowed to use errors, empty interfaces, anonymous
458+
# interfaces, and interfaces provided by the standard library.
459459
- anon
460460
- error
461461
- empty

0 commit comments

Comments
 (0)