.rubocop_todo.yml in ykxutils-0.1.11 vs .rubocop_todo.yml in ykxutils-0.1.12
- old
+ new
@@ -1,156 +1,49 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2023-12-12 09:49:25 UTC using RuboCop version 1.36.0.
+# on 2024-02-06 17:44:56 UTC using RuboCop version 1.59.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: IgnoreImplicitReferences.
-Lint/ShadowedArgument:
+# This cop supports safe autocorrection (--autocorrect).
+# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
+# Include: **/*.gemfile, **/Gemfile, **/gems.rb
+Bundler/OrderedGems:
Exclude:
-# - 'lib/ykxutils/yamlx.rb'
+# - 'Gemfile'
# Offense count: 1
-# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
+# This cop supports safe autocorrection (--autocorrect).
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: final_newline, final_blank_line
+Layout/TrailingEmptyLines:
+ Exclude:
+# - 'Gemfile'
+
+# Offense count: 1
+# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 19
# Offense count: 3
-# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
+# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
- Max: 15
+ Max: 14
# Offense count: 1
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
Metrics/ParameterLists:
Max: 6
-# Offense count: 1
-# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
-# AllowedNames: as, at, by, db, id, in, io, ip, of, on, os, pp, to
-Naming/MethodParameterName:
- Exclude:
-# - 'lib/ykxutils/nginxconfigfiles.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: be, be_nil
-RSpec/BeNil:
- Exclude:
-# - 'spec/ykxutils_spec.rb'
-
-# Offense count: 1
-RSpec/BeforeAfterAll:
- Exclude:
-# - 'spec/spec_helper.rb'
-# - 'spec/rails_helper.rb'
-# - 'spec/support/**/*.rb'
-# - 'spec/ykxutils_spec.rb'
-
# Offense count: 2
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
- Max: 9
+ Max: 8
# Offense count: 1
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
# - 'spec/ykxutils_spec.rb'
-
-# Offense count: 1
-RSpec/NoExpectationExample:
- Exclude:
-# - 'spec/ykxutils_spec.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: not_to, to_not
-RSpec/NotToNot:
- Exclude:
-# - 'spec/ykxutils_spec.rb'
-
-# Offense count: 8
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
-# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
-# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
-# FunctionalMethods: let, let!, subject, watch
-# AllowedMethods: lambda, proc, it
-Style/BlockDelimiters:
- Exclude:
-# - 'lib/ykxutils/erubyx.rb'
-# - 'lib/ykxutils/gridlist.rb'
-# - 'lib/ykxutils/nginxconfig.rb'
-# - 'lib/ykxutils/nginxconfigfiles.rb'
-# - 'spec/ykxutils_spec.rb'
-
-# Offense count: 5
-# This cop supports safe autocorrection (--autocorrect).
-Style/ColonMethodCall:
- Exclude:
-# - 'lib/ykxutils/gridlist.rb'
-# - 'lib/ykxutils/nginxconfig.rb'
-# - 'spec/ykxutils_spec.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-Style/EachWithObject:
- Exclude:
-# - 'spec/ykxutils_spec.rb'
-
-# Offense count: 3
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
-# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
-# SupportedShorthandSyntax: always, never, either, consistent
-Style/HashSyntax:
- Exclude:
-# - 'lib/ykxutils/gridlist.rb'
-
-# Offense count: 2
-# This cop supports safe autocorrection (--autocorrect).
-Style/IfUnlessModifier:
- Exclude:
-# - 'lib/ykxutils/erubyx.rb'
-# - 'lib/ykxutils/gridlist.rb'
-
-# Offense count: 1
-# This cop supports unsafe autocorrection (--autocorrect-all).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: literals, strict
-Style/MutableConstant:
- Exclude:
-# - 'lib/ykxutils/gridlist.rb'
-
-# Offense count: 2
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle, MinBodyLength.
-# SupportedStyles: skip_modifier_ifs, always
-Style/Next:
- Exclude:
-# - 'lib/ykxutils/nginxconfig.rb'
-# - 'lib/ykxutils/nginxconfigfiles.rb'
-
-# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: PreferredDelimiters.
-Style/PercentLiteralDelimiters:
- Exclude:
-# - 'lib/ykxutils/gridlist.rb'
-
-# Offense count: 45
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
-# SupportedStyles: single_quotes, double_quotes
-Style/StringLiterals:
- Exclude:
-# - 'Gemfile'
-# - 'lib/ykxutils/erubyx.rb'
-# - 'lib/ykxutils/gridlist.rb'
-# - 'lib/ykxutils/nginxconfigfiles.rb'
-# - 'ykxutils.gemspec'