# This configuration was generated by # `rubocop --auto-gen-config` # on 2021-09-21 15:30:34 UTC using RuboCop version 1.21.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 # Cop supports --auto-correct. Layout/ElseAlignment: Exclude: - 'lib/imap/backup/configuration/gmail_oauth2.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines. Layout/EmptyLineBetweenDefs: Exclude: - 'lib/google/auth/stores/in_memory_token_store.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleAlignWith, Severity. # SupportedStylesAlignWith: keyword, variable, start_of_line Layout/EndAlignment: Exclude: - 'lib/imap/backup/configuration/gmail_oauth2.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: Width, IgnoredPatterns. Layout/IndentationWidth: Exclude: - 'lib/imap/backup/configuration/gmail_oauth2.rb' # Offense count: 34 # Configuration parameters: AllowedMethods. # AllowedMethods: enums Lint/ConstantDefinitionInBlock: Exclude: - 'lib/imap/backup/configuration/asker.rb' - 'spec/unit/gmail/authenticator_spec.rb' - 'spec/unit/google/auth/stores/in_memory_token_store_spec.rb' - 'spec/unit/imap/backup/account/connection_spec.rb' - 'spec/unit/imap/backup/account/folder_spec.rb' - 'spec/unit/imap/backup/configuration/account_spec.rb' - 'spec/unit/imap/backup/configuration/gmail_oauth2_spec.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowComments. Lint/UselessMethodDefinition: Exclude: - 'lib/imap/backup/configuration/account.rb' - 'lib/imap/backup/configuration/asker.rb' # Offense count: 11 # Configuration parameters: IgnoredMethods, CountRepeatedAttributes. Metrics/AbcSize: Max: 33 # Offense count: 3 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: Max: 172 # Offense count: 19 # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. Metrics/MethodLength: Max: 26 # Offense count: 2 # Configuration parameters: CountComments, CountAsOne. Metrics/ModuleLength: Max: 145 # 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: - 'lib/email/provider.rb' - 'spec/unit/email/provider_spec.rb' # Offense count: 209 # Configuration parameters: AllowSubject. RSpec/MultipleMemoizedHelpers: Max: 16 # Offense count: 49 RSpec/NestedGroups: Max: 6 # Offense count: 8 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Exclude: - 'lib/email/mboxrd/message.rb' - 'lib/imap/backup/downloader.rb' - 'lib/imap/backup/serializer.rb' - 'lib/imap/backup/serializer/mbox.rb' - 'lib/imap/backup/serializer/mbox_enumerator.rb' - 'lib/imap/backup/serializer/mbox_store.rb' - 'lib/imap/backup/uploader.rb' - 'lib/imap/backup/utils.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantBegin: Exclude: - 'lib/imap/backup/account/connection.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: MinSize, WordRegex. # SupportedStyles: percent, brackets Style/WordArray: EnforcedStyle: percent # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Layout/LineLength: Max: 133