summaryrefslogtreecommitdiff
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authoremsk <emsk1987@gmail.com>2017-03-31 00:16:29 +0900
committeremsk <emsk1987@gmail.com>2017-03-31 00:16:29 +0900
commit22309cc70d0ef5cdfb6ee977e86377331eab8e4d (patch)
tree0a16f0efe70aeab46c5ddac2720f33dde9702f93 /.rubocop_todo.yml
parentca7464464a46dc9e2edbb14331828c03248ecfdf (diff)
downloadbundler-22309cc70d0ef5cdfb6ee977e86377331eab8e4d.tar.gz
[RuboCop] Update to 0.48.0
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml66
1 files changed, 62 insertions, 4 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 4917f5af50..d03086eab2 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1,11 +1,26 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2017-03-11 17:10:16 -0500 using RuboCop version 0.47.1.
+# on 2017-03-30 23:48:11 +0900 using RuboCop version 0.48.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
+# Offense count: 23
+Lint/AmbiguousBlockAssociation:
+ Exclude:
+ - 'lib/bundler/definition.rb'
+ - 'lib/bundler/resolver.rb'
+ - 'lib/bundler/runtime.rb'
+ - 'lib/bundler/source/path.rb'
+ - 'spec/bundler/compact_index_client/updater_spec.rb'
+ - 'spec/commands/init_spec.rb'
+ - 'spec/commands/install_spec.rb'
+ - 'spec/install/gems/flex_spec.rb'
+ - 'spec/lock/lockfile_spec.rb'
+ - 'spec/runtime/setup_spec.rb'
+ - 'spec/support/indexes.rb'
+
# Offense count: 2
Lint/EmptyWhen:
Exclude:
@@ -39,6 +54,12 @@ Lint/RescueException:
- 'lib/bundler/rubygems_integration.rb'
- 'lib/bundler/worker.rb'
+# Offense count: 2
+Lint/ShadowedException:
+ Exclude:
+ - 'lib/bundler.rb'
+ - 'lib/bundler/rubygems_integration.rb'
+
# Offense count: 1
# Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
Lint/UselessAccessModifier:
@@ -51,12 +72,12 @@ Lint/UselessAssignment:
- 'lib/bundler/index.rb'
- 'lib/bundler/installer.rb'
-# Offense count: 442
+# Offense count: 444
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
Max: 980
-# Offense count: 1966
+# Offense count: 1991
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
@@ -79,7 +100,7 @@ Performance/RedundantMatch:
- 'lib/bundler/definition.rb'
- 'lib/bundler/lockfile_parser.rb'
-# Offense count: 5
+# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: MaxKeyValuePairs.
Performance/RedundantMerge:
@@ -146,6 +167,17 @@ Style/ConditionalAssignment:
Style/Documentation:
Enabled: false
+# Offense count: 300
+# Cop supports --auto-correct.
+Style/EmptyLineAfterMagicComment:
+ Enabled: false
+
+# Offense count: 2
+# Cop supports --auto-correct.
+Style/EmptyLinesAroundExceptionHandlingKeywords:
+ Exclude:
+ - 'Rakefile'
+
# Offense count: 17
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
@@ -209,6 +241,24 @@ Style/IfUnlessModifierOfIfUnless:
Style/IndentArray:
EnforcedStyle: consistent
+# Offense count: 33
+# Cop supports --auto-correct.
+# Configuration parameters: EnforcedStyle, SupportedStyles.
+# SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent
+Style/IndentHeredoc:
+ Enabled: false
+
+# Offense count: 8
+# Cop supports --auto-correct.
+# Configuration parameters: InverseMethods, InverseBlocks.
+Style/InverseMethods:
+ Exclude:
+ - 'lib/bundler/cli/doctor.rb'
+ - 'lib/bundler/definition.rb'
+ - 'lib/bundler/dsl.rb'
+ - 'lib/bundler/index.rb'
+ - 'lib/bundler/resolver.rb'
+
# Offense count: 6
Style/MethodMissing:
Exclude:
@@ -221,6 +271,14 @@ Style/MethodMissing:
# Offense count: 2
# Configuration parameters: EnforcedStyle, SupportedStyles.
+# SupportedStyles: separated, grouped
+Style/MixinGrouping:
+ Exclude:
+ - 'lib/bundler/spec_set.rb'
+ - 'spec/runtime/setup_spec.rb'
+
+# Offense count: 2
+# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: module_function, extend_self
Style/ModuleFunction:
Exclude: