diff options
author | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-09-24 22:33:27 -0300 |
---|---|---|
committer | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-09-25 06:50:59 -0300 |
commit | 647ba87417ef09d9a0baea296053b8d3fcc52261 (patch) | |
tree | 3f3e66fb78537093b62b74dc6e75495356aac86a /.rubocop.yml | |
parent | e5d8c9a7301a0e5c219feb8218e3fff35475a732 (diff) | |
download | highline-647ba87417ef09d9a0baea296053b8d3fcc52261.tar.gz |
Ensure correct Array of Symbol syntax for 1.9
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 3ab76a8..f4401a2 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -59,3 +59,11 @@ Style/OptionalArguments: Style/MethodMissing: Exclude: - 'lib/highline/template_renderer.rb' + +# This is a breaking change for MRI 1.9. +# Revoke when updating to MRI 2.0 as minimum. +# Cop supports --auto-correct. +# Configuration parameters: MinSize, SupportedStyles. +# SupportedStyles: percent, brackets +Style/SymbolArray: + EnforcedStyle: brackets |