aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarkus Reiter2016-09-20 21:36:04 +0200
committerMarkus Reiter2016-09-23 15:30:06 +0200
commitbe22265860bd32deede9536035310c592d82583d (patch)
treeaa3d628359dfb29eb7fb3a0be88ee22216d3972f /Library
parent129dfcac4ad8c7f577039f3d0277cf0243eb053c (diff)
downloadbrew-be22265860bd32deede9536035310c592d82583d.tar.bz2
Set Style/NumericLiterals MinDigits to 7.
Diffstat (limited to 'Library')
-rw-r--r--Library/.rubocop_rules.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/.rubocop_rules.yml b/Library/.rubocop_rules.yml
index f1e3e6ec5..6d14287b6 100644
--- a/Library/.rubocop_rules.yml
+++ b/Library/.rubocop_rules.yml
@@ -7,6 +7,10 @@ Style/StringLiterals:
Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes
+# only for numbers >= 1_000_000
+Style/NumericLiterals:
+ MinDigits: 7
+
# percent-x is allowed for multiline
Style/CommandLiteral:
EnforcedStyle: mixed