File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2054,7 +2054,7 @@ linters-settings:
2054
2054
# Align and sort can be used together or separately.
2055
2055
#
2056
2056
# Whether enable align. If true, the struct tags will be aligned.
2057
- # eg :
2057
+ # e.g. :
2058
2058
# type FooBar struct {
2059
2059
# Bar string `json:"bar" validate:"required"`
2060
2060
# FooFoo int8 `json:"foo_foo" validate:"required"`
@@ -2068,7 +2068,7 @@ linters-settings:
2068
2068
align : false
2069
2069
# Whether enable tags sort.
2070
2070
# 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"`
2072
2072
# Default: true
2073
2073
sort : false
2074
2074
# Specify the order of tags, the other tags will be sorted by name.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ func (p Cgo) Name() string {
27
27
28
28
func (p Cgo ) Process (issues []result.Issue ) ([]result.Issue , error ) {
29
29
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,
31
31
// also cgo files have strange issues looking like false positives.
32
32
33
33
// cache dir contains all preprocessed files including cgo files
You can’t perform that action at this time.
0 commit comments