# This configuration was generated by # `rubocop --auto-gen-config` # 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). # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include. # Include: **/*.gemfile, **/Gemfile, **/gems.rb Bundler/OrderedGems: Exclude: # - 'Gemfile' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include. # Include: **/*.gemspec Gemspec/OrderedDependencies: Exclude: # - 'ykxutils.gemspec' # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space Layout/SpaceAroundEqualsInParameterDefault: Exclude: # - 'lib/ykxutils/pstorex.rb' # Offense count: 10 Lint/UselessAssignment: Exclude: # - 'lib/ykxutils/yamlx.rb' # Offense count: 1 # 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: 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 # 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'