File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
docs/src/docs/contributing Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ See [there](/contributing/new-linters#how-to-add-a-public-linter-to-golangci-lin
1010
1111See [ there] ( /contributing/new-linters#how-to-add-a-private-linter-to-golangci-lint ) .
1212
13- ## How to update existing linter
13+ ## How to update an existing linter
1414
1515Just update its version in ` go.mod ` .
1616
17- ## How to add configuration option to existing linter
17+ ## How to add a configuration option to an existing linter
1818
19- Add a new field to a [ config struct] ( https://github.com/golangci/golangci-lint/blob/master/pkg/config/config .go ) .
20- Document it in [ .golangci.reference.yml] ( https://github.com/golangci/golangci-lint/blob/master/.golangci.reference.yml ) .
21- Pass it to a linter.
19+ Add a new field to the [ linter settings struct] ( https://github.com/golangci/golangci-lint/blob/master/pkg/config/linters_settings .go ) .
20+ Document it in [ .golangci.next. reference.yml] ( https://github.com/golangci/golangci-lint/blob/master/.golangci.next .reference.yml ) .
21+ Pass it to the linter.
2222
2323## How to see ` INFO ` or ` DEBUG ` logs
2424
You can’t perform that action at this time.
0 commit comments