aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler
diff options
context:
space:
mode:
authorUtkarsh Gupta <utkarsh@debian.org>2020-06-21 16:46:34 +0530
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-07-15 16:05:12 +0900
commitecb87b55d8ef3e2e9b5ce2c66d51d65228316754 (patch)
tree1777e9395c92a9463b64c642a7970f15710c2ae5 /lib/bundler
parent215f7c31658a649efa276e18811d69f111931f0f (diff)
downloadruby-ecb87b55d8ef3e2e9b5ce2c66d51d65228316754.tar.gz
[rubygems/rubygems] Lock rubocop version to 0.80.1
The later RuboCop versions don't work with ruby2.3 so we should lock the version to what works with ruby2.3 as we haven't dropped the support yet. And since we're using the older version of rubocop, also fix `Max` value of `LineLength` to 120, which is the current standard. Without this, rubocop will throw the line length offenses. Signed-off-by: Utkarsh Gupta <utkarsh@debian.org> https://github.com/rubygems/rubygems/commit/46d0a800a2
Diffstat (limited to 'lib/bundler')
-rw-r--r--lib/bundler/templates/newgem/rubocop.yml.tt3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bundler/templates/newgem/rubocop.yml.tt b/lib/bundler/templates/newgem/rubocop.yml.tt
index ca11bac1b6..00a72e3006 100644
--- a/lib/bundler/templates/newgem/rubocop.yml.tt
+++ b/lib/bundler/templates/newgem/rubocop.yml.tt
@@ -5,3 +5,6 @@ Style/StringLiterals:
Style/StringLiteralsInInterpolation:
Enabled: true
EnforcedStyle: double_quotes
+
+Layout/LineLength:
+ Max: 120