Skip to content

Commit

Permalink
updated rubocop rule
Browse files Browse the repository at this point in the history
  • Loading branch information
briri committed Mar 14, 2022
1 parent 835cb9a commit 634dc27
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,10 @@ Style/DocumentDynamicEvalDefinition: # new in 1.1
Style/EndlessMethod: # new in 1.8
Enabled: true
Style/FormatStringToken:
# Disabling this because Translation.io has trouble with the `%<variable>s` format
Enabled: false
# Force use of the `%{variable}` style of tokens instead of `%<variable>s` because
# Translation.io has trouble with auto-translating it. It converts `%<variable>s` to
# `%<variable> s` (note the added space)
EnforcedStyle: template
Style/HashConversion: # new in 1.10
Enabled: true
Style/HashExcept: # new in 1.7
Expand Down

0 comments on commit 634dc27

Please sign in to comment.