.rubocop_todo.yml in ykxutils-0.1.4 vs .rubocop_todo.yml in ykxutils-0.1.5
- old
+ new
@@ -1,124 +1,105 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2022-09-13 03:51:05 UTC using RuboCop version 1.36.0.
+# on 2022-09-14 22:49:41 UTC using RuboCop version 1.36.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: 1
-# Configuration parameters: Include.
-# Include: **/*.gemspec
-Gemspec/RequiredRubyVersion:
+# This cop supports safe autocorrection (--autocorrect).
+Layout/EmptyLineAfterGuardClause:
Exclude:
- #- 'ykxutils.gemspec'
+ #- 'lib/ykxutils/gitcmd.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
-Layout/ExtraSpacing:
+Layout/EmptyLines:
Exclude:
- #- 'spec/ykxutils_spec.rb'
+ #- 'lib/ykxutils/gitcmd.rb'
-# Offense count: 3
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: normal, indented_internal_methods
-Layout/IndentationConsistency:
- Exclude:
- #- 'lib/ykxutils/yamlx.rb'
-
-# Offense count: 2
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: IndentationWidth, EnforcedStyle.
-# SupportedStyles: spaces, tabs
-Layout/IndentationStyle:
- Exclude:
- #- 'lib/ykxutils/yamlx.rb'
-
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: Width, AllowedPatterns, IgnoredPatterns.
-Layout/IndentationWidth:
- Exclude:
- #- 'lib/ykxutils/yamlx.rb'
-
-# Offense count: 21
-# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
Layout/LeadingCommentSpace:
Exclude:
- #- 'lib/ykxutils/yamlx.rb'
+ #- 'lib/ykxutils/gitcmd.rb'
-# Offense count: 2
-# This cop supports safe autocorrection (--autocorrect).
-Layout/SpaceAfterComma:
- Exclude:
- #- 'spec/ykxutils_spec.rb'
-
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: .
# SupportedStyles: space, no_space
Layout/SpaceAroundEqualsInParameterDefault:
EnforcedStyle: no_space
-# Offense count: 2
+# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
-Layout/SpaceBeforeComma:
+# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
+# SupportedStylesForExponentOperator: space, no_space
+Layout/SpaceAroundOperators:
Exclude:
- #- 'spec/ykxutils_spec.rb'
+ # - 'lib/ykxutils/gitcmd.rb'
-# Offense count: 4
+# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
+# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
# SupportedStyles: space, no_space
# SupportedStylesForEmptyBraces: space, no_space
-Layout/SpaceInsideBlockBraces:
+Layout/SpaceBeforeBlockBraces:
Exclude:
- #- 'spec/ykxutils_spec.rb'
+ # - 'lib/ykxutils/gitcmd.rb'
-# Offense count: 3
+# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowInHeredoc.
-Layout/TrailingWhitespace:
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: space, compact, no_space
+Layout/SpaceInsideParens:
Exclude:
- #- 'lib/ykxutils/yamlx.rb'
- #- 'spec/ykxutils_spec.rb'
+ # - 'lib/ykxutils/gitcmd.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: final_newline, final_blank_line
+Layout/TrailingEmptyLines:
+ Exclude:
+ # - 'lib/ykxutils/gitcmd.rb'
+
+# Offense count: 1
+# This cop supports safe autocorrection (--autocorrect).
Lint/ScriptPermission:
Exclude:
- 'bin/console'
-# Offense count: 4
+# Offense count: 9
Lint/UselessAssignment:
Exclude:
- - 'lib/ykxutils/yamlx.rb'
+ #- 'lib/ykxutils/gitcmd.rb'
+ #- 'lib/ykxutils/yamlx.rb'
# Offense count: 1
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/MethodLength:
Max: 17
-# Offense count: 3
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: PreferredName.
-Naming/RescuedExceptionsVariableName:
+# Offense count: 1
+# This cop supports unsafe autocorrection (--autocorrect-all).
+# Configuration parameters: InverseMethods, InverseBlocks.
+Style/InverseMethods:
Exclude:
- #- 'lib/ykxutils/yamlx.rb'
+ #- 'lib/ykxutils/gitcmd.rb'
# Offense count: 2
-# This cop supports safe autocorrection (--autocorrect).
-RSpec/EmptyLineAfterFinalLet:
+# This cop supports unsafe autocorrection (--autocorrect-all).
+# Configuration parameters: Methods.
+Style/RedundantArgument:
Exclude:
- #- 'spec/ykxutils_spec.rb'
+ # - 'lib/ykxutils/gitcmd.rb'
-# Offense count: 1
+# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Exclude:
- #- 'spec/ykxutils_spec.rb'
+ # - 'lib/ykxutils/gitcmd.rb'