docs: fix errcheck ignore example

This commit is contained in:
Denis Isaev 2018-12-23 13:03:17 +03:00
parent 609de3254c
commit 658f4addbd
No known key found for this signature in database
GPG Key ID: A36A0EC8E27A1A01
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ linters-settings:
# [deprecated] comma-separated list of pairs of the form pkg:regex
# the regex is used to ignore names within pkg. (default "fmt:.*").
# see https://github.com/kisielk/errcheck#the-deprecated-method for details
ignore: fmt,io/ioutil:^ReadF.*
ignore: fmt:.*,io/ioutil:^Read.*
# path to a file containing a list of functions to exclude from checking
# see https://github.com/kisielk/errcheck#excluding-functions for details

View File

@ -589,7 +589,7 @@ linters-settings:
# [deprecated] comma-separated list of pairs of the form pkg:regex
# the regex is used to ignore names within pkg. (default "fmt:.*").
# see https://github.com/kisielk/errcheck#the-deprecated-method for details
ignore: fmt,io/ioutil:^ReadF.*
ignore: fmt:.*,io/ioutil:^Read.*
# path to a file containing a list of functions to exclude from checking
# see https://github.com/kisielk/errcheck#excluding-functions for details