.rubocop_todo.yml in ykxutils-0.1.1 vs .rubocop_todo.yml in ykxutils-0.1.2

- old
+ new

@@ -1,67 +1,74 @@ -# This configuration was generated by -# `rubocop --auto-gen-config` -# on 2022-08-16 06:21:29 UTC using RuboCop version 1.35.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: 8 -# Configuration parameters: EnforcedStyle. -# SupportedStyles: native, lf, crlf -Layout/EndOfLine: - Exclude: - #- 'Gemfile' - #- 'Rakefile' - #- 'bin/console' - #- 'lib/ykxutils.rb' - #- 'lib/ykxutils/version.rb' - #- 'spec/spec_helper.rb' - #- 'spec/ykxutils_spec.rb' - #- 'ykxutils.gemspec' - -# Offense count: 3 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment. -Layout/LeadingCommentSpace: - Exclude: - #- 'lib/ykxutils/yamlx.rb' - #- 'ykxutils.gemspec' - -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: final_newline, final_blank_line -Layout/TrailingEmptyLines: - Exclude: - #- 'Gemfile' - -# Offense count: 1 -# Configuration parameters: AllowedConstants. -Style/Documentation: - Exclude: - #- 'spec/**/*' - #- 'test/**/*' - #- 'lib/ykxutils/yamlx.rb' - -# Offense count: 1 -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: always, always_true, never -Style/FrozenStringLiteralComment: - Exclude: - #- 'lib/ykxutils/yamlx.rb' - -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -Style/RedundantBegin: - Exclude: - #- 'lib/ykxutils/yamlx.rb' - -# Offense count: 1 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline. -# SupportedStyles: single_quotes, double_quotes -Style/StringLiterals: - Exclude: - #- 'lib/ykxutils/yamlx.rb' +# This configuration was generated by +# `rubocop --auto-gen-config` +# on 2022-09-07 10:21:48 UTC using RuboCop version 1.35.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: + Exclude: + - 'ykxutils.gemspec' + +# 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' + +# Offense count: 1 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: AllowInHeredoc. +Layout/TrailingWhitespace: + Exclude: + - 'lib/ykxutils/yamlx.rb' + +# Offense count: 1 +# This cop supports safe autocorrection (--autocorrect). +Lint/ScriptPermission: + Exclude: + - 'bin/console' + +# Offense count: 4 +Lint/UselessAssignment: + Exclude: + - '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: + Exclude: + - 'lib/ykxutils/yamlx.rb'