mirror of https://github.com/hashicorp/consul
Link to PR explaining the format of forbidigo.forbid
parent
d592c61e84
commit
950affbbe4
|
@ -75,6 +75,7 @@ linters-settings:
|
|||
simplify: true
|
||||
forbidigo:
|
||||
# Forbid the following identifiers (list of regexp).
|
||||
# Format includes custom message based on https://github.com/ashanbrown/forbidigo/pull/11
|
||||
forbid:
|
||||
- '\bhtml\/template\b(# Use text/template instead)?'
|
||||
- '\bioutil\b(# Use io and os packages instead of ioutil)?'
|
||||
|
|
Loading…
Reference in New Issue