# This configuration was generated by # `rubocop --auto-gen-config` # on 2022-02-19 05:32:33 UTC using RuboCop version 1.25.1. # 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: - 'simple-feed.gemspec' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment. Layout/LeadingCommentSpace: Exclude: - 'spec/support/mock_feed.rb' # Offense count: 3 # Configuration parameters: AllowedMethods. # AllowedMethods: enums Lint/ConstantDefinitionInBlock: Exclude: - 'spec/simplefeed/dsl/formatter_spec.rb' - 'spec/simplefeed/providers/base/provider_spec.rb' - 'spec/simplefeed/providers/redis/provider_spec.rb' # Offense count: 3 Lint/MissingSuper: Exclude: - 'lib/simplefeed/activity/single_user.rb' - 'lib/simplefeed/providers/base/provider.rb' - 'spec/support/mock_feed.rb' # Offense count: 4 # Cop supports --auto-correct-all. # Configuration parameters: AllowedMethods. # AllowedMethods: instance_of?, kind_of?, is_a?, eql?, respond_to?, equal? Lint/RedundantSafeNavigation: Exclude: - 'lib/simplefeed/providers/proxy.rb' - 'lib/simplefeed/providers/redis/driver.rb' # Offense count: 2 Lint/ShadowingOuterLocalVariable: Exclude: - 'lib/simplefeed/providers/redis/provider.rb' # Offense count: 1 # Configuration parameters: AllowKeywordBlockArguments. Lint/UnderscorePrefixedVariableName: Exclude: - 'lib/simplefeed/providers/redis/provider.rb' # Offense count: 1 # Cop supports --auto-correct-all. # Configuration parameters: AllowComments. Lint/UselessMethodDefinition: Exclude: - 'lib/simplefeed/event.rb' # Offense count: 1 # Configuration parameters: CheckForMethodsWithNoSideEffects. Lint/Void: Exclude: - 'lib/simplefeed/feed.rb' # Offense count: 1 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. # IgnoredMethods: refine Metrics/BlockLength: Max: 35 # Offense count: 1 # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms. # CheckDefinitionPathHierarchyRoots: lib, spec, test, src # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS Naming/FileName: Exclude: - 'lib/simple-feed.rb' # Offense count: 1 # Configuration parameters: EnforcedStyleForLeadingUnderscores. # SupportedStylesForLeadingUnderscores: disallowed, required, optional Naming/MemoizedInstanceVariableName: Exclude: - 'lib/simplefeed/providers/redis/stats.rb' # Offense count: 5 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. # AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to Naming/MethodParameterName: Exclude: - 'lib/simplefeed/dsl/formatter.rb' - 'lib/simplefeed/providers/redis/driver.rb' - 'spec/support/mock_feed.rb' - 'spec/support/shared_examples_for_providers.rb' # Offense count: 1 # 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/simplefeed/response.rb' # Offense count: 2 # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers. # SupportedStyles: snake_case, normalcase, non_integer # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339 Naming/VariableNumber: Exclude: - 'spec/simplefeed/activity/multi_user_spec.rb' # Offense count: 4 # Cop supports --auto-correct-all. Style/CaseLikeIf: Exclude: - 'lib/simplefeed/providers/redis/driver.rb' - 'lib/simplefeed/providers/redis/provider.rb' - 'lib/simplefeed/providers/redis/stats.rb' - 'spec/simplefeed/providers/base/provider_spec.rb' # Offense count: 2 # Cop supports --auto-correct. Style/ExpandPathArguments: Exclude: - 'lib/simplefeed.rb' - 'spec/spec_helper.rb' # Offense count: 2 # Configuration parameters: MaxUnannotatedPlaceholdersAllowed, IgnoredMethods. # SupportedStyles: annotated, template, unannotated Style/FormatStringToken: EnforcedStyle: unannotated # Offense count: 1 # Cop supports --auto-correct. Style/GlobalStdStream: Exclude: - 'lib/simplefeed/providers/redis/driver.rb' # Offense count: 2 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/simplefeed/event.rb' - 'lib/simplefeed/providers/base/provider.rb' # Offense count: 2 # Cop supports --auto-correct-all. # Configuration parameters: AllowedReceivers. Style/HashEachMethods: Exclude: - 'lib/simplefeed/providers/redis/stats.rb' - 'spec/simplefeed/dsl_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowIfModifier. Style/IfInsideElse: Exclude: - 'lib/simplefeed/response.rb' # Offense count: 5 Style/MissingRespondToMissing: Exclude: - 'lib/simplefeed.rb' - 'lib/simplefeed/providers/proxy.rb' - 'lib/simplefeed/providers/redis/driver.rb' # Offense count: 3 # Cop supports --auto-correct. Style/MultilineTernaryOperator: Exclude: - 'lib/simplefeed/feed.rb' - 'lib/simplefeed/providers/redis/provider.rb' - 'lib/simplefeed/response.rb' # Offense count: 1 Style/OptionalArguments: Exclude: - 'lib/simplefeed/providers/redis/provider.rb' # Offense count: 4 # Cop supports --auto-correct-all. # Configuration parameters: Mode. Style/StringConcatenation: Exclude: - 'lib/simplefeed/dsl/formatter.rb' # Offense count: 1 # Cop supports --auto-correct. Style/StructInheritance: Exclude: - 'lib/simplefeed/providers/redis/driver.rb'