Skip to content

Commit 040a93e

Browse files
authored
docs: update "Contributing FAQ" (#5260)
1 parent 8e47515 commit 040a93e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/src/docs/contributing/faq.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ See [there](/contributing/new-linters#how-to-add-a-public-linter-to-golangci-lin
1010

1111
See [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

1515
Just 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

0 commit comments

Comments
 (0)