summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbinoam P. Marques Jr <abinoam@gmail.com>2017-09-24 20:18:54 -0300
committerAbinoam P. Marques Jr <abinoam@gmail.com>2017-09-24 20:19:41 -0300
commit2db872c17887e3de54b364b5c87977e247980183 (patch)
tree145b6d0ec34fbe80f6d517d4f7e0cea602f56b09
parentac01629bd3ee1d80c024674178869e4b516915d4 (diff)
downloadhighline-2db872c17887e3de54b364b5c87977e247980183.tar.gz
White list a file for Style/OptionalArgumets
-rw-r--r--.rubocop.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index b7a4759..afc480d 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -48,3 +48,9 @@ Naming/MethodName:
Style/Encoding:
Enabled: true
EnforcedStyle: always
+
+# If we fix this, it will change method signature.
+# Save it for major release.
+Style/OptionalArguments:
+ Exclude:
+ - 'lib/highline/list_renderer.rb'