Skip to content

Commit

Permalink
Update the auto-config for Rubocop 0.80.
Browse files Browse the repository at this point in the history
  • Loading branch information
hainesr committed Mar 15, 2020
1 parent 0c34cc1 commit 2f31154
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2020-02-08 14:58:51 +0000 using RuboCop version 0.79.0.
# on 2020-03-14 17:50:29 +0000 using RuboCop version 0.80.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: 15
# Offense count: 5
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 580
Max: 570

# Offense count: 26
Metrics/CyclomaticComplexity:
Max: 14

# Offense count: 120
# Offense count: 44
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 30
Max: 29

# Offense count: 2
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 10

# Offense count: 21
# Offense count: 20
Metrics/PerceivedComplexity:
Max: 15

# Offense count: 9
# Offense count: 8
Naming/AccessorMethodName:
Exclude:
- 'lib/zip/entry.rb'
Expand Down Expand Up @@ -60,7 +60,7 @@ Style/ClassAndModuleChildren:
- 'lib/zip/extra_field/zip64.rb'
- 'lib/zip/extra_field/zip64_placeholder.rb'

# Offense count: 26
# Offense count: 25
Style/Documentation:
Enabled: false

Expand All @@ -70,26 +70,24 @@ Style/Documentation:
Style/FormatStringToken:
EnforcedStyle: unannotated

# Offense count: 95
# Offense count: 96
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, never
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Enabled: false

# This one has to be off until our base ruby is at least 2.5.
Style/HashTransformKeys:
Enabled: false

# Offense count: 17
# Offense count: 13
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Exclude:
- 'lib/zip/entry.rb'
- 'lib/zip/extra_field/generic.rb'
- 'lib/zip/file.rb'
- 'lib/zip/filesystem.rb'
- 'lib/zip/input_stream.rb'
- 'lib/zip/pass_thru_decompressor.rb'
- 'lib/zip/streamable_stream.rb'

Expand Down

0 comments on commit 2f31154

Please sign in to comment.