.rubocop_todo.yml in githuh-0.2.1 vs .rubocop_todo.yml in githuh-0.3.0

- old
+ new

@@ -1,8 +1,8 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2020-09-09 20:59:51 UTC using RuboCop version 0.90.0. +# on 2020-09-11 02:48:55 UTC using RuboCop version 0.90.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. @@ -33,11 +33,11 @@ Layout/EndAlignment: Exclude: - 'lib/githuh/cli/commands/issue/export.rb' - 'lib/githuh/cli/commands/repo/list.rb' -# Offense count: 9 +# Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. # SupportedHashRocketStyles: key, separator, table # SupportedColonStyles: key, separator, table # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit @@ -52,26 +52,10 @@ Exclude: - 'lib/githuh/cli/commands/issue/export.rb' # Offense count: 1 # Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, IndentationWidth. -# SupportedStyles: aligned, indented -Layout/MultilineOperationIndentation: - Exclude: - - 'lib/githuh/cli/commands/issue/export.rb' - -# Offense count: 1 -# Cop supports --auto-correct. -# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator. -# SupportedStylesForExponentOperator: space, no_space -Layout/SpaceAroundOperators: - Exclude: - - 'lib/githuh/cli/commands/issue/export.rb' - -# Offense count: 1 -# Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: final_newline, final_blank_line Layout/TrailingEmptyLines: Exclude: - 'Gemfile' @@ -81,10 +65,17 @@ Lint/NonDeterministicRequireOrder: Exclude: - 'spec/spec_helper.rb' # Offense count: 1 +# Configuration parameters: AllowedMethods. +# AllowedMethods: present?, blank?, presence, try, try! +Lint/SafeNavigationChain: + Exclude: + - 'lib/githuh/cli/commands/repo/list.rb' + +# Offense count: 1 # Cop supports --auto-correct. Lint/ScriptPermission: Exclude: - 'lib/githuh/cli/commands/issue/export.rb' @@ -98,18 +89,11 @@ # Configuration parameters: . # SupportedStyles: annotated, template, unannotated Style/FormatStringToken: EnforcedStyle: unannotated -# Offense count: 1 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle. -# SupportedStyles: always, always_true, never -Style/FrozenStringLiteralComment: - Exclude: - - 'lib/githuh/cli/commands/issue/export_paginated.rb' - -# Offense count: 1 +# Offense count: 2 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: + - 'lib/githuh/cli/commands/base.rb' - 'lib/githuh/cli/launcher.rb'