# This configuration was generated by # `rubocop --auto-gen-config` # on 2021-04-22 19:38:54 UTC using RuboCop version 1.13.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: - 'qfill.gemspec' # Offense count: 3 Lint/BinaryOperatorWithIdenticalOperands: Exclude: - 'spec/qfill/filter_spec.rb' # Offense count: 1 # Configuration parameters: AllowComments, AllowEmptyLambdas. Lint/EmptyBlock: Exclude: - 'spec/qfill/manager_spec.rb' # Offense count: 3 Lint/UselessAssignment: Exclude: - '**/*.md' - '**/*.markdown' - 'lib/qfill/list_set.rb' - 'lib/qfill/popper.rb' - 'spec/qfill/filter_spec.rb' # Offense count: 14 # Configuration parameters: IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: Max: 39 # Offense count: 1 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: Max: 106 # Offense count: 1 # Configuration parameters: IgnoredMethods. Metrics/CyclomaticComplexity: Max: 8 # Offense count: 8 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. Metrics/MethodLength: Max: 20 # Offense count: 1 # Configuration parameters: IgnoredMethods. Metrics/PerceivedComplexity: Max: 9 # Offense count: 1 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. # AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to Naming/MethodParameterName: Exclude: - 'lib/qfill/popper.rb' # Offense count: 3 # Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros. # NamePrefix: is_, has_, have_ # ForbiddenPrefixes: is_, has_, have_ # AllowedMethods: is_a? # MethodDefinitionMacros: define_method, define_singleton_method Naming/PredicateName: Exclude: - 'spec/**/*' - 'lib/qfill/manager.rb' - 'lib/qfill/origin.rb' - 'lib/qfill/result.rb' # Offense count: 1 Packaging/GemspecGit: Exclude: - 'qfill.gemspec' # Offense count: 22 # Configuration parameters: Prefixes. # Prefixes: when, with, without RSpec/ContextWording: Exclude: - 'spec/qfill/manager_spec.rb' # Offense count: 1 RSpec/EmptyExampleGroup: Exclude: - 'spec/qfill/manager_spec.rb' # Offense count: 45 # Configuration parameters: AssignmentOnly. RSpec/InstanceVariable: Exclude: - 'spec/qfill/filter_spec.rb' - 'spec/qfill/list_set_spec.rb' - 'spec/qfill/list_spec.rb' - 'spec/qfill/origin_spec.rb' - 'spec/qfill/popper_spec.rb' - 'spec/qfill/pusher_spec.rb' - 'spec/qfill/result_spec.rb' # Offense count: 7 RSpec/MultipleExpectations: Max: 2 # Offense count: 34 RSpec/NestedGroups: Max: 6 # Offense count: 1 Rake/Desc: Exclude: - 'Rakefile' # Offense count: 14 # Configuration parameters: AllowedConstants. Style/Documentation: Exclude: - '**/*.md' - '**/*.markdown' - 'lib/qfill/filter.rb' - 'lib/qfill/list.rb' - 'lib/qfill/list_set.rb' - 'lib/qfill/manager.rb' - 'lib/qfill/origin.rb' - 'lib/qfill/popper.rb' - 'lib/qfill/pusher.rb' - 'lib/qfill/result.rb' - 'lib/qfill/strategy/base.rb' - 'lib/qfill/strategy/drain_to_empty.rb' - 'lib/qfill/strategy/drain_to_limit.rb' - 'lib/qfill/strategy/sample.rb' - 'spec/support/helper.rb' - 'spec/support/random_object.rb' # Offense count: 2 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/qfill/pusher.rb' - 'lib/qfill/result.rb' # Offense count: 1 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - 'lib/qfill/manager.rb' # Offense count: 24 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https # IgnoredPatterns: (?-mix:^\#) Layout/LineLength: Max: 274