disable rubocop's single quote grievance

pull/4729/head
Markus Kahl 8 years ago
parent c8f489654e
commit bd2a9967cc
  1. 12
      .rubocop.yml

@ -201,8 +201,18 @@ SignalException:
SpecialGlobalVars:
Enabled: false
# Forcing single quotes doesn't give any reasonable advantages. To the contrary:
# it forces you to change the quotes every time you want to add interpolation,
# newlines or other escape sequences (\n), or quotes (') to a string. Rubbish.
# Don't even think about performance. That never was a valid argument to begin with.
#
# For the record: using single quotes does NOT have any performance advantages.
# Even if it did, this would be a silly argument.
#
# Ideally we would just use double quotes everywhere but since that would result
# in innumerable rubocop offenses we will just disable this. Quote away.
StringLiterals:
EnforcedStyle: single_quotes
Enabled: false
VariableInterpolation:
Enabled: false

Loading…
Cancel
Save