fix golangci.yml reference
This commit is contained in:
parent
45f1e48f3d
commit
c5a06256d7
@ -1096,7 +1096,7 @@ linters-settings:
|
|||||||
|
|
||||||
That is all the configuration that is required to run a custom linter in your project. Custom linters are enabled by default,
|
That is all the configuration that is required to run a custom linter in your project. Custom linters are enabled by default,
|
||||||
but abide by the same rules as other linters. If the disable all option is specified either on command line or in
|
but abide by the same rules as other linters. If the disable all option is specified either on command line or in
|
||||||
`.golang.yml` files `linters:disable-all: true`, custom linters will be disabled; they can be re-enabled by adding them
|
`.golangci.yml` files `linters:disable-all: true`, custom linters will be disabled; they can be re-enabled by adding them
|
||||||
to the `linters:enable` list, or providing the enabled option on the command line, `golangci-lint run -Eexample`.
|
to the `linters:enable` list, or providing the enabled option on the command line, `golangci-lint run -Eexample`.
|
||||||
|
|
||||||
### To Create Your Own Custom Linter
|
### To Create Your Own Custom Linter
|
||||||
|
@ -485,7 +485,7 @@ linters-settings:
|
|||||||
|
|
||||||
That is all the configuration that is required to run a custom linter in your project. Custom linters are enabled by default,
|
That is all the configuration that is required to run a custom linter in your project. Custom linters are enabled by default,
|
||||||
but abide by the same rules as other linters. If the disable all option is specified either on command line or in
|
but abide by the same rules as other linters. If the disable all option is specified either on command line or in
|
||||||
`.golang.yml` files `linters:disable-all: true`, custom linters will be disabled; they can be re-enabled by adding them
|
`.golangci.yml` files `linters:disable-all: true`, custom linters will be disabled; they can be re-enabled by adding them
|
||||||
to the `linters:enable` list, or providing the enabled option on the command line, `golangci-lint run -Eexample`.
|
to the `linters:enable` list, or providing the enabled option on the command line, `golangci-lint run -Eexample`.
|
||||||
|
|
||||||
### To Create Your Own Custom Linter
|
### To Create Your Own Custom Linter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user