diff options
author | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-07-05 07:59:41 -0300 |
---|---|---|
committer | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-07-07 05:31:45 -0300 |
commit | c61eb2098f60a4c631125bd970421de22314c313 (patch) | |
tree | e84d6721c081675469131cc777d3a344c87d17b7 /.rubocop.yml | |
parent | fd5de3951ad12a60da529f6e20250a2627023003 (diff) | |
download | highline-c61eb2098f60a4c631125bd970421de22314c313.tar.gz |
Enforce double quotes on strings
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index ec7ab64..73faa87 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -12,7 +12,8 @@ Layout/DotPosition: - leading - trailing -# Enabling! +# Enabling +# -------- Style/CollectionMethods: Description: 'Preferred collection methods.' @@ -23,9 +24,13 @@ Style/StringMethods: Description: 'Checks if configured preferred methods are used over non-preferred.' Enabled: true -# Disabling! +# Disabling +# --------- +# Modifying +# --------- + +# Check quotes usage according to lint rule below. Style/StringLiterals: - Description: 'Checks if uses of quotes match the configured preference.' - StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#consistent-string-literals' - Enabled: false + Enabled: true + EnforcedStyle: double_quotes |