# This configuration was generated by # `rubocop --auto-gen-config` # on 2019-02-14 11:35:09 -0500 using RuboCop version 0.63.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 # Cop supports --auto-correct. Layout/AlignArray: Exclude: - 'lib/longleaf/preservation_services/rsync_replication_service.rb' # Offense count: 41 # Cop supports --auto-correct. # Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. # SupportedHashRocketStyles: key, separator, table # SupportedColonStyles: key, separator, table # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit Layout/AlignHash: Exclude: - 'lib/longleaf/cli.rb' - 'lib/longleaf/commands/register_command.rb' - 'lib/longleaf/logging.rb' - 'lib/longleaf/preservation_services/rsync_replication_service.rb' - 'lib/longleaf/services/metadata_deserializer.rb' - 'lib/longleaf/specs/file_helpers.rb' - 'spec/longleaf/events/deregister_event_spec.rb' - 'spec/longleaf/events/preserve_event_spec.rb' - 'spec/longleaf/events/register_event_spec.rb' - 'spec/longleaf/services/metadata_serializer_spec.rb' - 'spec/longleaf/services/service_definition_manager_spec.rb' # Offense count: 111 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: with_first_parameter, with_fixed_indentation Layout/AlignParameters: Enabled: false # Offense count: 192 # Cop supports --auto-correct. Layout/BlockEndNewline: Enabled: false # Offense count: 1 # Cop supports --auto-correct. Layout/ClosingParenthesisIndentation: Exclude: - 'spec/longleaf/events/deregister_event_spec.rb' # Offense count: 13 # Cop supports --auto-correct. Layout/EmptyLinesAroundAccessModifier: Exclude: - 'lib/longleaf/candidates/file_selector.rb' - 'lib/longleaf/candidates/service_candidate_filesystem_iterator.rb' - 'lib/longleaf/events/register_event.rb' - 'lib/longleaf/logging/redirecting_logger.rb' - 'lib/longleaf/preservation_services/fixity_check_service.rb' - 'lib/longleaf/preservation_services/rsync_replication_service.rb' - 'lib/longleaf/services/application_config_deserializer.rb' - 'lib/longleaf/services/configuration_validator.rb' - 'lib/longleaf/services/service_class_cache.rb' - 'lib/longleaf/services/service_mapping_validator.rb' - 'lib/longleaf/services/storage_location_validator.rb' - 'spec/longleaf/preservation_services/fixity_check_service_spec.rb' - 'spec/longleaf/preservation_services/rsync_replication_service_spec.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, no_empty_lines Layout/EmptyLinesAroundBlockBody: Exclude: - 'spec/longleaf/models/service_definition_spec.rb' - 'spec/longleaf/models/storage_location_spec.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment. Layout/ExtraSpacing: Exclude: - 'spec/longleaf/models/metadata_record_spec.rb' # Offense count: 28 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: consistent, consistent_relative_to_receiver, special_for_inner_method_call, special_for_inner_method_call_in_parentheses Layout/FirstParameterIndentation: Exclude: - 'lib/longleaf/candidates/service_candidate_filesystem_iterator.rb' - 'lib/longleaf/services/application_config_deserializer.rb' - 'lib/longleaf/services/application_config_manager.rb' - 'lib/longleaf/services/metadata_deserializer.rb' - 'lib/longleaf/services/service_definition_manager.rb' - 'lib/longleaf/services/storage_location_validator.rb' - 'spec/features/deregister_command_spec.rb' - 'spec/features/register_command_spec.rb' - 'spec/features/validate_application_config_spec.rb' - 'spec/longleaf/candidates/file_selector_spec.rb' - 'spec/longleaf/logging/redirecting_logger_spec.rb' - 'spec/longleaf/services/metadata_serializer_spec.rb' # Offense count: 10 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: special_inside_parentheses, consistent, align_braces Layout/IndentHash: Exclude: - 'spec/longleaf/candidates/service_candidate_filesystem_iterator_spec.rb' - 'spec/longleaf/preservation_services/fixity_check_service_spec.rb' - 'spec/longleaf/preservation_services/rsync_replication_service_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: normal, rails Layout/IndentationConsistency: Exclude: - 'spec/longleaf/services/application_config_deserializer_spec.rb' # Offense count: 13 # Cop supports --auto-correct. # Configuration parameters: Width, IgnoredPatterns. Layout/IndentationWidth: Exclude: - 'lib/longleaf/candidates/file_selector.rb' - 'lib/longleaf/candidates/service_candidate_filesystem_iterator.rb' - 'lib/longleaf/events/register_event.rb' - 'lib/longleaf/logging/redirecting_logger.rb' - 'lib/longleaf/preservation_services/fixity_check_service.rb' - 'lib/longleaf/preservation_services/rsync_replication_service.rb' - 'lib/longleaf/services/application_config_deserializer.rb' - 'lib/longleaf/services/configuration_validator.rb' - 'lib/longleaf/services/service_class_cache.rb' - 'lib/longleaf/services/service_mapping_validator.rb' - 'lib/longleaf/services/storage_location_validator.rb' - 'spec/longleaf/preservation_services/fixity_check_service_spec.rb' - 'spec/longleaf/preservation_services/rsync_replication_service_spec.rb' # Offense count: 192 # Cop supports --auto-correct. Layout/MultilineBlockLayout: Enabled: false # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: symmetrical, new_line, same_line Layout/MultilineHashBraceLayout: Exclude: - 'spec/longleaf/preservation_services/fixity_check_service_spec.rb' - 'spec/longleaf/preservation_services/rsync_replication_service_spec.rb' # Offense count: 31 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: symmetrical, new_line, same_line Layout/MultilineMethodCallBraceLayout: Exclude: - 'lib/longleaf/candidates/service_candidate_filesystem_iterator.rb' - 'lib/longleaf/services/application_config_deserializer.rb' - 'lib/longleaf/services/application_config_manager.rb' - 'lib/longleaf/services/metadata_deserializer.rb' - 'lib/longleaf/services/service_definition_manager.rb' - 'lib/longleaf/services/storage_location_validator.rb' - 'spec/features/deregister_command_spec.rb' - 'spec/features/register_command_spec.rb' - 'spec/features/validate_application_config_spec.rb' - 'spec/longleaf/events/deregister_event_spec.rb' - 'spec/longleaf/logging/redirecting_logger_spec.rb' - 'spec/longleaf/services/metadata_serializer_spec.rb' # Offense count: 261 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, IndentationWidth. # SupportedStyles: aligned, indented, indented_relative_to_receiver Layout/MultilineMethodCallIndentation: Enabled: false # Offense count: 18 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceBeforeBlockBraces: Exclude: - 'lib/longleaf/services/service_manager.rb' - 'spec/longleaf/candidates/file_selector_spec.rb' - 'spec/longleaf/helpers/service_date_helper_spec.rb' - 'spec/longleaf/services/service_class_cache_spec.rb' - 'spec/longleaf/services/service_manager_spec.rb' # Offense count: 14 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideBlockBraces: Exclude: - 'spec/longleaf/candidates/file_selector_spec.rb' - 'spec/longleaf/logging/redirecting_logger_spec.rb' - 'spec/longleaf/models/metadata_record_spec.rb' - 'spec/longleaf/models/storage_location_spec.rb' - 'spec/longleaf/services/metadata_serializer_spec.rb' - 'spec/longleaf/services/service_class_cache_spec.rb' - 'spec/longleaf/services/service_manager_spec.rb' # Offense count: 23 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space, compact # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideHashLiteralBraces: Exclude: - 'spec/longleaf/candidates/service_candidate_filesystem_iterator_spec.rb' - 'spec/longleaf/models/metadata_record_spec.rb' - 'spec/longleaf/models/service_record_spec.rb' - 'spec/longleaf/preservation_services/fixity_check_service_spec.rb' - 'spec/longleaf/services/metadata_serializer_spec.rb' # Offense count: 38 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space Layout/SpaceInsideParens: Exclude: - 'spec/longleaf/events/deregister_event_spec.rb' - 'spec/longleaf/events/preserve_event_spec.rb' - 'spec/longleaf/events/register_event_spec.rb' - 'spec/longleaf/models/metadata_record_spec.rb' - 'spec/longleaf/models/service_definition_spec.rb' - 'spec/longleaf/models/service_record_spec.rb' - 'spec/longleaf/preservation_services/fixity_check_service_spec.rb' - 'spec/longleaf/preservation_services/rsync_replication_service_spec.rb' - 'spec/longleaf/services/metadata_serializer_spec.rb' - 'spec/longleaf/services/service_definition_validator_spec.rb' - 'spec/longleaf/services/storage_location_validator_spec.rb' # Offense count: 70 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: final_newline, final_blank_line Layout/TrailingBlankLines: Enabled: false # Offense count: 1158 # Cop supports --auto-correct. # Configuration parameters: AllowInHeredoc. Layout/TrailingWhitespace: Enabled: false # Offense count: 4 Lint/IneffectiveAccessModifier: Exclude: - 'lib/longleaf/services/application_config_deserializer.rb' - 'lib/longleaf/services/configuration_validator.rb' - 'lib/longleaf/services/service_mapping_validator.rb' - 'lib/longleaf/services/storage_location_validator.rb' # Offense count: 1 Lint/ParenthesesAsGroupedExpression: Exclude: - 'spec/longleaf/models/metadata_record_spec.rb' # Offense count: 2 # Cop supports --auto-correct. Lint/StringConversionInInterpolation: Exclude: - 'lib/longleaf/logging/redirecting_logger.rb' - 'lib/longleaf/preservation_services/fixity_check_service.rb' # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments. Lint/UnusedBlockArgument: Exclude: - 'lib/longleaf/commands/validate_config_command.rb' - 'lib/longleaf/logging/redirecting_logger.rb' - 'lib/longleaf/services/service_mapping_manager.rb' - 'lib/longleaf/services/storage_location_manager.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/longleaf/preservation_services/fixity_check_service.rb' - 'lib/longleaf/preservation_services/rsync_replication_service.rb' # Offense count: 4 # Configuration parameters: ContextCreatingMethods, MethodCreatingMethods. Lint/UselessAccessModifier: Exclude: - 'lib/longleaf/services/application_config_deserializer.rb' - 'lib/longleaf/services/configuration_validator.rb' - 'lib/longleaf/services/service_mapping_validator.rb' - 'lib/longleaf/services/storage_location_validator.rb' # Offense count: 11 Lint/UselessAssignment: Exclude: - 'lib/longleaf/cli.rb' - 'lib/longleaf/commands/preserve_command.rb' - 'lib/longleaf/preservation_services/rsync_replication_service.rb' - 'lib/longleaf/services/application_config_deserializer.rb' - 'lib/longleaf/services/service_class_cache.rb' - 'lib/longleaf/services/service_definition_validator.rb' - 'lib/longleaf/services/service_mapping_validator.rb' - 'spec/longleaf/events/register_event_spec.rb' # Offense count: 6 Metrics/AbcSize: Max: 43 # Offense count: 88 # Configuration parameters: CountComments, ExcludedMethods. # ExcludedMethods: refine Metrics/BlockLength: Max: 309 # Offense count: 1 # Configuration parameters: CountBlocks. Metrics/BlockNesting: Max: 4 # Offense count: 2 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 118 # Offense count: 13 Metrics/CyclomaticComplexity: Max: 10 # Offense count: 2 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 249 # Offense count: 21 # Configuration parameters: CountComments, ExcludedMethods. Metrics/MethodLength: Max: 38 # Offense count: 7 # Configuration parameters: CountKeywordArgs. Metrics/ParameterLists: Max: 7 # Offense count: 8 Metrics/PerceivedComplexity: Max: 12 # Offense count: 2 # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist, MethodDefinitionMacros. # NamePrefix: is_, has_, have_ # NamePrefixBlacklist: is_, has_, have_ # NameWhitelist: is_a? # MethodDefinitionMacros: define_method, define_singleton_method Naming/PredicateName: Exclude: - 'spec/**/*' - 'lib/longleaf/preservation_services/fixity_check_service.rb' - 'lib/longleaf/preservation_services/rsync_replication_service.rb' # Offense count: 4 # Configuration parameters: EnforcedStyle. # SupportedStyles: snake_case, camelCase Naming/VariableName: Exclude: - 'lib/longleaf/logging/redirecting_logger.rb' # Offense count: 1 # Cop supports --auto-correct. Performance/RedundantMatch: Exclude: - 'lib/longleaf/cli.rb' # Offense count: 1 # Cop supports --auto-correct. Performance/ReverseEach: Exclude: - 'lib/longleaf/candidates/file_selector.rb' # Offense count: 4 RSpec/DescribeClass: Exclude: - 'spec/features/deregister_command_spec.rb' - 'spec/features/preserve_command_spec.rb' - 'spec/features/register_command_spec.rb' - 'spec/features/validate_application_config_spec.rb' # Offense count: 49 # Cop supports --auto-correct. # Configuration parameters: SkipBlocks, EnforcedStyle. # SupportedStyles: described_class, explicit RSpec/DescribedClass: Enabled: false # Offense count: 18 # Configuration parameters: Max. RSpec/ExampleLength: Exclude: - 'spec/features/deregister_command_spec.rb' - 'spec/longleaf/events/deregister_event_spec.rb' - 'spec/longleaf/events/preserve_event_spec.rb' - 'spec/longleaf/events/register_event_spec.rb' - 'spec/longleaf/logging/redirecting_logger_spec.rb' - 'spec/longleaf/preservation_services/rsync_replication_service_spec.rb' - 'spec/longleaf/services/metadata_deserializer_spec.rb' - 'spec/longleaf/services/metadata_serializer_spec.rb' - 'spec/longleaf/services/service_definition_manager_spec.rb' # Offense count: 14 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: implicit, each, example RSpec/HookArgument: Exclude: - 'spec/longleaf/models/storage_location_spec.rb' - 'spec/longleaf/preservation_services/rsync_replication_service_spec.rb' - 'spec/longleaf/services/application_config_deserializer_spec.rb' - 'spec/longleaf/services/application_config_validator_spec.rb' - 'spec/longleaf/services/metadata_deserializer_spec.rb' - 'spec/longleaf/services/service_manager_spec.rb' # Offense count: 8 RSpec/LetSetup: Exclude: - 'spec/features/preserve_command_spec.rb' - 'spec/longleaf/candidates/service_candidate_filesystem_iterator_spec.rb' # Offense count: 4 # Configuration parameters: . # SupportedStyles: have_received, receive RSpec/MessageSpies: EnforcedStyle: receive # Offense count: 63 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: not_to, to_not RSpec/NotToNot: Enabled: false # Offense count: 3 # Configuration parameters: IgnoreNameless, IgnoreSymbolicNames. RSpec/VerifiedDoubles: Exclude: - 'spec/longleaf/preservation_services/fixity_check_service_spec.rb' - 'spec/longleaf/services/service_class_cache_spec.rb' - 'spec/longleaf/services/service_manager_spec.rb' # Offense count: 7 # Configuration parameters: Include. # Include: app/**/*.rb, config/**/*.rb, lib/**/*.rb Rails/Exit: Exclude: - 'lib/**/*.rake' - 'lib/longleaf/cli.rb' # Offense count: 8 # Configuration parameters: EnforcedStyle. # SupportedStyles: strict, flexible Rails/TimeZone: Exclude: - 'lib/longleaf/helpers/service_date_helper.rb' - 'spec/features/preserve_command_spec.rb' - 'spec/longleaf/events/deregister_event_spec.rb' - 'spec/longleaf/events/preserve_event_spec.rb' - 'spec/longleaf/logging/redirecting_logger_spec.rb' - 'spec/longleaf/models/metadata_record_spec.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, conditionals Style/AndOr: Exclude: - 'lib/longleaf/candidates/file_selector.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: percent_q, bare_percent Style/BarePercentLiterals: Exclude: - 'lib/longleaf/specs/file_helpers.rb' # Offense count: 1 # Cop supports --auto-correct. Style/BlockComments: Exclude: - 'spec/spec_helper.rb' # Offense count: 134 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods. # SupportedStyles: line_count_based, semantic, braces_for_chaining # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object # FunctionalMethods: let, let!, subject, watch # IgnoredMethods: lambda, proc, it Style/BlockDelimiters: Enabled: false # Offense count: 66 # Cop supports --auto-correct. Style/ColonMethodCall: Exclude: - 'lib/longleaf/events/deregister_event.rb' - 'lib/longleaf/events/preserve_event.rb' - 'lib/longleaf/events/register_event.rb' - 'lib/longleaf/models/storage_location.rb' - 'lib/longleaf/services/application_config_validator.rb' - 'lib/longleaf/services/storage_location_validator.rb' - 'spec/features/deregister_command_spec.rb' - 'spec/features/register_command_spec.rb' - 'spec/longleaf/events/register_event_spec.rb' - 'spec/longleaf/services/application_config_deserializer_spec.rb' - 'spec/longleaf/services/application_config_validator_spec.rb' - 'spec/longleaf/services/service_definition_validator_spec.rb' - 'spec/longleaf/services/service_mapping_validator_spec.rb' - 'spec/longleaf/services/storage_location_validator_spec.rb' - 'spec/longleaf/services/storage_path_validator_spec.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions. # SupportedStyles: assign_to_condition, assign_inside_condition Style/ConditionalAssignment: Exclude: - 'lib/longleaf/events/event_status_tracking.rb' - 'lib/longleaf/logging/redirecting_logger.rb' - 'lib/longleaf/preservation_services/rsync_replication_service.rb' # Offense count: 41 # Cop supports --auto-correct. Style/EmptyLiteral: Enabled: false # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: format, sprintf, percent Style/FormatString: Exclude: - 'lib/longleaf/logging/redirecting_logger.rb' # Offense count: 93 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: when_needed, always, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 8 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'lib/longleaf/candidates/file_selector.rb' - 'lib/longleaf/cli.rb' - 'lib/longleaf/helpers/service_date_helper.rb' - 'lib/longleaf/preservation_services/fixity_check_service.rb' - 'lib/longleaf/services/storage_location_manager.rb' # Offense count: 50 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys Style/HashSyntax: Exclude: - 'Rakefile' - 'lib/longleaf/cli.rb' - 'lib/longleaf/logging/redirecting_logger.rb' - 'spec/features/deregister_command_spec.rb' - 'spec/features/preserve_command_spec.rb' - 'spec/features/register_command_spec.rb' - 'spec/features/validate_application_config_spec.rb' - 'spec/longleaf/events/preserve_event_spec.rb' - 'spec/longleaf/services/metadata_serializer_spec.rb' # Offense count: 3 Style/IfInsideElse: Exclude: - 'lib/longleaf/preservation_services/fixity_check_service.rb' - 'lib/longleaf/preservation_services/rsync_replication_service.rb' # Offense count: 23 # Cop supports --auto-correct. Style/IfUnlessModifier: Exclude: - 'lib/longleaf/candidates/file_selector.rb' - 'lib/longleaf/candidates/service_candidate_filesystem_iterator.rb' - 'lib/longleaf/cli.rb' - 'lib/longleaf/commands/deregister_command.rb' - 'lib/longleaf/events/deregister_event.rb' - 'lib/longleaf/events/preserve_event.rb' - 'lib/longleaf/events/register_event.rb' - 'lib/longleaf/preservation_services/fixity_check_service.rb' - 'lib/longleaf/preservation_services/rsync_replication_service.rb' - 'lib/longleaf/services/metadata_deserializer.rb' - 'lib/longleaf/services/service_class_cache.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. Style/MethodCallWithoutArgsParentheses: Exclude: - 'spec/longleaf/candidates/file_selector_spec.rb' - 'spec/longleaf/services/metadata_deserializer_spec.rb' # Offense count: 2 # Cop supports --auto-correct. Style/MultilineIfModifier: Exclude: - 'lib/longleaf/preservation_services/rsync_replication_service.rb' # Offense count: 48 # Cop supports --auto-correct. Style/MutableConstant: Exclude: - 'lib/longleaf/events/event_names.rb' - 'lib/longleaf/models/app_fields.rb' - 'lib/longleaf/models/md_fields.rb' - 'lib/longleaf/models/service_fields.rb' - 'lib/longleaf/preservation_services/fixity_check_service.rb' - 'lib/longleaf/preservation_services/rsync_replication_service.rb' - 'lib/longleaf/services/service_class_cache.rb' - 'lib/longleaf/version.rb' - 'spec/longleaf/preservation_services/fixity_check_service_spec.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: both, prefix, postfix Style/NegatedIf: Exclude: - 'lib/longleaf/candidates/service_candidate_filesystem_iterator.rb' - 'lib/longleaf/cli.rb' - 'lib/longleaf/preservation_services/rsync_replication_service.rb' - 'lib/longleaf/services/service_class_cache.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, MinBodyLength. # SupportedStyles: skip_modifier_ifs, always Style/Next: Exclude: - 'lib/longleaf/services/storage_location_validator.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods. # SupportedStyles: predicate, comparison Style/NumericPredicate: Exclude: - 'spec/**/*' - 'lib/longleaf/candidates/service_candidate_filesystem_iterator.rb' - 'lib/longleaf/events/event_status_tracking.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'lib/longleaf/cli.rb' - 'longleaf.gemspec' # Offense count: 2 # Cop supports --auto-correct. Style/PerlBackrefs: Exclude: - 'lib/longleaf/helpers/service_date_helper.rb' # Offense count: 72 # Cop supports --auto-correct. # Configuration parameters: . # SupportedStyles: compact, exploded Style/RaiseArgs: EnforcedStyle: compact # Offense count: 2 # Cop supports --auto-correct. Style/RedundantBegin: Exclude: - 'lib/longleaf/cli.rb' - 'lib/longleaf/services/application_config_deserializer.rb' # Offense count: 1 # Cop supports --auto-correct. Style/RedundantParentheses: Exclude: - 'spec/longleaf/models/metadata_record_spec.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleReturnValues. Style/RedundantReturn: Exclude: - 'lib/longleaf/preservation_services/fixity_check_service.rb' - 'lib/longleaf/specs/file_helpers.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: ConvertCodeThatCanStartToReturnNil, Whitelist. # Whitelist: present?, blank?, presence, try, try! Style/SafeNavigation: Exclude: - 'lib/longleaf/cli.rb' - 'lib/longleaf/services/metadata_deserializer.rb' - 'spec/longleaf/candidates/service_candidate_filesystem_iterator_spec.rb' # Offense count: 2 # Cop supports --auto-correct. Style/SelfAssignment: Exclude: - 'lib/longleaf/logging/redirecting_logger.rb' - 'lib/longleaf/preservation_services/rsync_replication_service.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: single_quotes, double_quotes Style/StringLiteralsInInterpolation: Exclude: - 'lib/longleaf/preservation_services/rsync_replication_service.rb' # Offense count: 3 # Cop supports --auto-correct. Style/UnneededInterpolation: Exclude: - 'lib/longleaf/logging/redirecting_logger.rb' # Offense count: 3 # Cop supports --auto-correct. Style/UnneededPercentQ: Exclude: - 'lib/longleaf/specs/file_helpers.rb' - 'longleaf.gemspec' # Offense count: 1 # Cop supports --auto-correct. Style/WhileUntilDo: Exclude: - 'lib/longleaf/candidates/file_selector.rb' # Offense count: 1 # Cop supports --auto-correct. Style/ZeroLengthPredicate: Exclude: - 'lib/longleaf/candidates/service_candidate_filesystem_iterator.rb'