File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ func (p Cgo) Name() string {
2727
2828func (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
You can’t perform that action at this time.
0 commit comments