Skip to content

Commit b008c07

Browse files
alexandearpull[bot]
authored andcommitted
docs: fix typo in 'e.g.' (#4461)
1 parent a785e81 commit b008c07

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.golangci.reference.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2054,7 +2054,7 @@ linters-settings:
20542054
# Align and sort can be used together or separately.
20552055
#
20562056
# Whether enable align. If true, the struct tags will be aligned.
2057-
# eg:
2057+
# e.g.:
20582058
# type FooBar struct {
20592059
# Bar string `json:"bar" validate:"required"`
20602060
# FooFoo int8 `json:"foo_foo" validate:"required"`
@@ -2068,7 +2068,7 @@ linters-settings:
20682068
align: false
20692069
# Whether enable tags sort.
20702070
# If true, the tags will be sorted by name in ascending order.
2071-
# eg: `xml:"bar" json:"bar" validate:"required"` -> `json:"bar" validate:"required" xml:"bar"`
2071+
# e.g.: `xml:"bar" json:"bar" validate:"required"` -> `json:"bar" validate:"required" xml:"bar"`
20722072
# Default: true
20732073
sort: false
20742074
# Specify the order of tags, the other tags will be sorted by name.

pkg/result/processors/cgo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func (p Cgo) Name() string {
2727

2828
func (p Cgo) Process(issues []result.Issue) ([]result.Issue, error) {
2929
return filterIssuesErr(issues, func(i *result.Issue) (bool, error) {
30-
// some linters (.e.g gosec, deadcode) return incorrect filepaths for cgo issues,
30+
// some linters (e.g. gosec, deadcode) return incorrect filepaths for cgo issues,
3131
// also cgo files have strange issues looking like false positives.
3232

3333
// cache dir contains all preprocessed files including cgo files

0 commit comments

Comments
 (0)