.rubocop_todo.yml in ykxutils-0.1.7 vs .rubocop_todo.yml in ykxutils-0.1.8
- old
+ new
@@ -1,105 +1,179 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
-# on 2022-09-14 22:49:41 UTC using RuboCop version 1.36.0.
+# on 2022-10-11 11:06:24 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
# This cop supports safe autocorrection (--autocorrect).
-Layout/EmptyLineAfterGuardClause:
+# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
+# Include: **/*.gemfile, **/Gemfile, **/gems.rb
+Bundler/OrderedGems:
Exclude:
- #- 'lib/ykxutils/gitcmd.rb'
+ # - 'Gemfile'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
-Layout/EmptyLines:
+# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
+# Include: **/*.gemspec
+Gemspec/OrderedDependencies:
Exclude:
- #- 'lib/ykxutils/gitcmd.rb'
+ # - 'ykxutils.gemspec'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
-Layout/LeadingCommentSpace:
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: space, no_space
+Layout/SpaceAroundEqualsInParameterDefault:
Exclude:
- #- 'lib/ykxutils/gitcmd.rb'
+ # - 'lib/ykxutils/pstorex.rb'
+# Offense count: 10
+Lint/UselessAssignment:
+ Exclude:
+ # - 'lib/ykxutils/yamlx.rb'
+
# Offense count: 1
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: .
-# SupportedStyles: space, no_space
-Layout/SpaceAroundEqualsInParameterDefault:
- EnforcedStyle: no_space
+# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
+Metrics/AbcSize:
+ Max: 19
+# Offense count: 3
+# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
+Metrics/MethodLength:
+ Max: 15
+
# 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: AllowForAlignment, EnforcedStyleForExponentOperator.
-# SupportedStylesForExponentOperator: space, no_space
-Layout/SpaceAroundOperators:
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: be, be_nil
+RSpec/BeNil:
Exclude:
- # - 'lib/ykxutils/gitcmd.rb'
+ - '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
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
-# SupportedStyles: space, no_space
-# SupportedStylesForEmptyBraces: space, no_space
-Layout/SpaceBeforeBlockBraces:
+# Configuration parameters: CountAsOne.
+RSpec/ExampleLength:
+ Max: 9
+
+# Offense count: 1
+# Configuration parameters: AssignmentOnly.
+RSpec/InstanceVariable:
Exclude:
- # - 'lib/ykxutils/gitcmd.rb'
+ - 'spec/ykxutils_spec.rb'
-# Offense count: 4
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: EnforcedStyle.
-# SupportedStyles: space, compact, no_space
-Layout/SpaceInsideParens:
+# Offense count: 1
+RSpec/NoExpectationExample:
Exclude:
- # - 'lib/ykxutils/gitcmd.rb'
+ - 'spec/ykxutils_spec.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
-# SupportedStyles: final_newline, final_blank_line
-Layout/TrailingEmptyLines:
+# SupportedStyles: not_to, to_not
+RSpec/NotToNot:
Exclude:
- # - 'lib/ykxutils/gitcmd.rb'
+ - 'spec/ykxutils_spec.rb'
-# Offense count: 1
+# Offense count: 8
# This cop supports safe autocorrection (--autocorrect).
-Lint/ScriptPermission:
+# 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:
- - 'bin/console'
+ - 'lib/ykxutils/erubyx.rb'
+ - 'lib/ykxutils/gridlist.rb'
+ - 'lib/ykxutils/nginxconfig.rb'
+ - 'lib/ykxutils/nginxconfigfiles.rb'
+ - 'spec/ykxutils_spec.rb'
-# Offense count: 9
-Lint/UselessAssignment:
+# Offense count: 5
+# This cop supports safe autocorrection (--autocorrect).
+Style/ColonMethodCall:
Exclude:
- #- 'lib/ykxutils/gitcmd.rb'
- #- 'lib/ykxutils/yamlx.rb'
+ - 'lib/ykxutils/gridlist.rb'
+ - 'lib/ykxutils/nginxconfig.rb'
+ - 'spec/ykxutils_spec.rb'
# Offense count: 1
-# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
-Metrics/MethodLength:
- Max: 17
+# 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: InverseMethods, InverseBlocks.
-Style/InverseMethods:
+# Configuration parameters: EnforcedStyle.
+# SupportedStyles: literals, strict
+Style/MutableConstant:
Exclude:
- #- 'lib/ykxutils/gitcmd.rb'
+ - 'lib/ykxutils/gridlist.rb'
# Offense count: 2
-# This cop supports unsafe autocorrection (--autocorrect-all).
-# Configuration parameters: Methods.
-Style/RedundantArgument:
+# This cop supports safe autocorrection (--autocorrect).
+# Configuration parameters: EnforcedStyle, MinBodyLength.
+# SupportedStyles: skip_modifier_ifs, always
+Style/Next:
Exclude:
- # - 'lib/ykxutils/gitcmd.rb'
+ - 'lib/ykxutils/nginxconfig.rb'
+ - 'lib/ykxutils/nginxconfigfiles.rb'
-# Offense count: 4
+# 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:
- # - 'lib/ykxutils/gitcmd.rb'
+ - 'Gemfile'
+ - 'lib/ykxutils/erubyx.rb'
+ - 'lib/ykxutils/gridlist.rb'
+ - 'lib/ykxutils/nginxconfigfiles.rb'
+ - 'ykxutils.gemspec'