diff --git a/.golangci.example.yml b/.golangci.example.yml index 6ab3f672..e26c346f 100644 --- a/.golangci.example.yml +++ b/.golangci.example.yml @@ -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 diff --git a/README.md b/README.md index a573f637..064aad61 100644 --- a/README.md +++ b/README.md @@ -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