Skip to content

Commit

Permalink
disable Style/FormatStringToken
Browse files Browse the repository at this point in the history
- format strings are rarely used
- 99% of the alerts are false positives
- there is no autofixing cop for this one
  • Loading branch information
lamont-granquist committed Jul 2, 2019
1 parent 1b63257 commit 3ba2230
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/chefstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -565,3 +565,7 @@ Naming/VariableNumber:
# This breaks all kinds of specs in chef (i don't think it will ever quite work correctly)
Style/BracesAroundHashParameters:
Enabled: false

# We almost never use format strings but this cop triggers on any string with "%{whatever}" in it and is 99% false positives
Style/FormatStringToken:
Enabled: false

0 comments on commit 3ba2230

Please sign in to comment.