564 lines
20 KiB
YAML
564 lines
20 KiB
YAML
# This configuration was generated by
|
|
# `rubocop --auto-gen-config --no-exclude-limit`
|
|
# on 2026-04-28 09:58:15 UTC using RuboCop version 1.86.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: 2
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation.
|
|
Bundler/OrderedGems:
|
|
Exclude:
|
|
- 'Gemfile'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: EnforcedStyleAlignWith.
|
|
# SupportedStylesAlignWith: either, start_of_block, start_of_line
|
|
Layout/BlockAlignment:
|
|
Exclude:
|
|
- 'spec/routing/tournaments_routing_spec.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: AllowForAlignment.
|
|
Layout/CommentIndentation:
|
|
Exclude:
|
|
- 'app/serializers/tournament_serializer.rb'
|
|
|
|
# Offense count: 3
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
Layout/EmptyLineAfterGuardClause:
|
|
Exclude:
|
|
- 'app/controllers/tournaments_controller.rb'
|
|
- 'config/spring.rb'
|
|
- 'spec/factories/tournaments.rb'
|
|
|
|
# Offense count: 3
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, DefLikeMacros, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
|
|
Layout/EmptyLineBetweenDefs:
|
|
Exclude:
|
|
- 'app/controllers/tournaments_controller.rb'
|
|
- 'app/services/tournament_snapshot_importer.rb'
|
|
- 'e2e/lib/scenario_runner.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
Layout/EmptyLines:
|
|
Exclude:
|
|
- 'app/controllers/tournaments_controller.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: around, only_before
|
|
Layout/EmptyLinesAroundAccessModifier:
|
|
Exclude:
|
|
- 'db/migrate/20220516203839_create_active_storage_variant_records.active_storage.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
|
|
Layout/EmptyLinesAroundClassBody:
|
|
Exclude:
|
|
- 'config/application.rb'
|
|
|
|
# Offense count: 2
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: IndentationWidth.
|
|
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
|
Layout/FirstArrayElementIndentation:
|
|
EnforcedStyle: consistent
|
|
|
|
# Offense count: 6
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
|
Layout/FirstHashElementIndentation:
|
|
Exclude:
|
|
- 'spec/e2e/http/tournament_follow_sync_spec.rb'
|
|
|
|
# Offense count: 5
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: normal, indented_internal_methods
|
|
Layout/IndentationConsistency:
|
|
Exclude:
|
|
- 'db/migrate/20220516203839_create_active_storage_variant_records.active_storage.rb'
|
|
- 'e2e/lib/scenario_runner.rb'
|
|
- 'spec/routing/tournaments_routing_spec.rb'
|
|
|
|
# Offense count: 3
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: Width, EnforcedStyleAlignWith, AllowedPatterns.
|
|
# SupportedStylesAlignWith: start_of_line, relative_to_receiver
|
|
Layout/IndentationWidth:
|
|
Exclude:
|
|
- 'db/migrate/20220516203839_create_active_storage_variant_records.active_storage.rb'
|
|
- 'spec/routing/tournaments_routing_spec.rb'
|
|
|
|
# Offense count: 10
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
# SupportedStyles: aligned, indented, indented_relative_to_receiver
|
|
Layout/MultilineMethodCallIndentation:
|
|
Exclude:
|
|
- 'app/interactors/advance_teams_in_intermediate_stage.rb'
|
|
- 'e2e/lib/scenario_runner.rb'
|
|
- 'spec/e2e/http/api_surface_spec.rb'
|
|
- 'spec/e2e/http/tournament_follow_sync_live_websocket_spec.rb'
|
|
- 'spec/e2e/http/tournament_follow_sync_spec.rb'
|
|
- 'spec/e2e/http/tournament_lifecycle_spec.rb'
|
|
- 'spec/e2e/http/tournament_live_websocket_spec.rb'
|
|
|
|
# Offense count: 3
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
# SupportedStyles: aligned, indented
|
|
Layout/MultilineOperationIndentation:
|
|
Exclude:
|
|
- 'app/services/group_stage_service.rb'
|
|
|
|
# Offense count: 2
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
Layout/SpaceInsidePercentLiteralDelimiters:
|
|
Exclude:
|
|
- 'db/migrate/20220516203839_create_active_storage_variant_records.active_storage.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: final_newline, final_blank_line
|
|
Layout/TrailingEmptyLines:
|
|
Exclude:
|
|
- 'spec/support/profile.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
# Configuration parameters: AllowSafeAssignment.
|
|
Lint/AssignmentInCondition:
|
|
Exclude:
|
|
- 'db/migrate/20220516203838_add_service_name_to_active_storage_blobs.active_storage.rb'
|
|
|
|
# Offense count: 2
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
Lint/ScriptPermission:
|
|
Exclude:
|
|
- 'script/e2e_scenarios.rb'
|
|
- 'script/wait_for_http.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
|
|
# NotImplementedExceptions: NotImplementedError
|
|
Lint/UnusedMethodArgument:
|
|
Exclude:
|
|
- 'app/controllers/application_controller.rb'
|
|
|
|
# Offense count: 2
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
Lint/UselessAssignment:
|
|
Exclude:
|
|
- 'e2e/lib/scenario_runner.rb'
|
|
- 'spec/models/beamer_spec.rb'
|
|
|
|
# Offense count: 6
|
|
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
|
|
Metrics/AbcSize:
|
|
Exclude:
|
|
- 'app/controllers/tournaments_controller.rb'
|
|
- 'app/services/tournament_snapshot_importer.rb'
|
|
- 'e2e/lib/scenario_runner.rb'
|
|
- 'spec/e2e/http/tournament_follow_sync_spec.rb'
|
|
- 'spec/services/tournament_snapshot_importer_spec.rb'
|
|
|
|
# Offense count: 2
|
|
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
|
|
# AllowedMethods: refine
|
|
Metrics/BlockLength:
|
|
Exclude:
|
|
- 'app/services/tournament_snapshot_importer.rb'
|
|
- 'db/schema.rb'
|
|
|
|
# Offense count: 15
|
|
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
|
|
Metrics/CyclomaticComplexity:
|
|
Exclude:
|
|
- 'app/controllers/matches_controller.rb'
|
|
- 'app/controllers/tournaments_controller.rb'
|
|
- 'app/models/group_score.rb'
|
|
- 'app/models/stage.rb'
|
|
- 'app/services/group_stage_service.rb'
|
|
- 'app/services/playoff_stage_service.rb'
|
|
- 'e2e/lib/api_client.rb'
|
|
- 'spec/e2e/http/tournament_follow_sync_spec.rb'
|
|
- 'spec/services/tournament_snapshot_importer_spec.rb'
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
|
|
Metrics/MethodLength:
|
|
Exclude:
|
|
- 'app/controllers/tournaments_controller.rb'
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: Max, CountKeywordArgs, MaxOptionalParameters.
|
|
Metrics/ParameterLists:
|
|
Exclude:
|
|
- 'e2e/lib/api_client.rb'
|
|
|
|
# Offense count: 14
|
|
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
|
|
Metrics/PerceivedComplexity:
|
|
Exclude:
|
|
- 'app/controllers/matches_controller.rb'
|
|
- 'app/controllers/tournaments_controller.rb'
|
|
- 'app/models/group_score.rb'
|
|
- 'app/models/stage.rb'
|
|
- 'app/services/group_stage_service.rb'
|
|
- 'e2e/lib/api_client.rb'
|
|
- 'spec/e2e/http/tournament_follow_sync_spec.rb'
|
|
- 'spec/services/tournament_snapshot_importer_spec.rb'
|
|
|
|
# Offense count: 3
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
Performance/Count:
|
|
Exclude:
|
|
- 'app/controllers/tournaments_controller.rb'
|
|
- 'spec/services/tournament_snapshot_importer_spec.rb'
|
|
|
|
# Offense count: 2
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
# Configuration parameters: SafeMultiline.
|
|
Performance/DeleteSuffix:
|
|
Exclude:
|
|
- 'e2e/lib/action_cable_client.rb'
|
|
- 'e2e/lib/api_client.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
Performance/RegexpMatch:
|
|
Exclude:
|
|
- 'config/spring.rb'
|
|
|
|
# Offense count: 14
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
Performance/TimesMap:
|
|
Exclude:
|
|
- 'e2e/lib/scenario_runner.rb'
|
|
- 'spec/e2e/http/api_surface_spec.rb'
|
|
- 'spec/e2e/http/tournament_beamers_websocket_spec.rb'
|
|
- 'spec/e2e/http/tournament_follow_sync_beamers_websocket_spec.rb'
|
|
- 'spec/e2e/http/tournament_follow_sync_spec.rb'
|
|
- 'spec/e2e/http/tournament_follow_sync_websocket_spec.rb'
|
|
- 'spec/e2e/http/tournament_sync_test_spec.rb'
|
|
- 'spec/e2e/http/tournament_team_action_lists_websocket_spec.rb'
|
|
- 'spec/e2e/http/tournament_timer_follow_sync_websocket_spec.rb'
|
|
- 'spec/e2e/http/tournament_timer_websocket_spec.rb'
|
|
- 'spec/services/tournament_snapshot_importer_spec.rb'
|
|
|
|
# Offense count: 3
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
# Configuration parameters: NilOrEmpty, NotPresent, UnlessPresent.
|
|
Rails/Blank:
|
|
Exclude:
|
|
- 'e2e/lib/scenario_runner.rb'
|
|
- 'spec/e2e/http/tournament_sync_test_spec.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: EnforceForPrefixed.
|
|
Rails/Delegate:
|
|
Exclude:
|
|
- 'e2e/lib/action_cable_client.rb'
|
|
|
|
# Offense count: 2
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: slashes, arguments
|
|
Rails/FilePath:
|
|
Exclude:
|
|
- 'config/environments/development.rb'
|
|
- 'spec/rails_helper.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
Rails/IndexBy:
|
|
Exclude:
|
|
- 'spec/e2e/http/tournament_follow_sync_spec.rb'
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: IgnoreScopes.
|
|
Rails/InverseOf:
|
|
Exclude:
|
|
- 'app/models/tournament.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: NotNilAndNotEmpty, NotBlank, UnlessBlank.
|
|
Rails/Present:
|
|
Exclude:
|
|
- 'e2e/lib/api_client.rb'
|
|
|
|
# Offense count: 1
|
|
Rails/ReversibleMigration:
|
|
Exclude:
|
|
- 'db/migrate/20240407180900_add_default_to_position_in_group_scores.rb'
|
|
|
|
# Offense count: 9
|
|
# Configuration parameters: ForbiddenMethods, AllowedMethods.
|
|
# ForbiddenMethods: decrement!, decrement_counter, increment!, increment_counter, insert, insert!, insert_all, insert_all!, toggle!, touch, touch_all, update_all, update_attribute, update_column, update_columns, update_counters, upsert, upsert_all
|
|
Rails/SkipsModelValidations:
|
|
Exclude:
|
|
- 'app/models/tournament_sync_queue_entry.rb'
|
|
- 'app/services/tournament_sync_pusher.rb'
|
|
- 'db/migrate/20220516203838_add_service_name_to_active_storage_blobs.active_storage.rb'
|
|
- 'db/migrate/20260416102000_backfill_default_beamers_by_name.rb'
|
|
- 'spec/controllers/tournaments_controller_spec.rb'
|
|
|
|
# Offense count: 33
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: strict, flexible
|
|
Rails/TimeZone:
|
|
Exclude:
|
|
- 'e2e/lib/action_cable_client.rb'
|
|
- 'e2e/lib/scenario_runner.rb'
|
|
- 'spec/e2e/http/tournament_beamers_websocket_spec.rb'
|
|
- 'spec/e2e/http/tournament_follow_sync_beamers_websocket_spec.rb'
|
|
- 'spec/e2e/http/tournament_follow_sync_spec.rb'
|
|
- 'spec/e2e/http/tournament_follow_sync_websocket_spec.rb'
|
|
- 'spec/e2e/http/tournament_team_action_lists_websocket_spec.rb'
|
|
- 'spec/e2e/http/tournament_timer_follow_sync_websocket_spec.rb'
|
|
- 'spec/e2e/http/tournament_timer_websocket_spec.rb'
|
|
|
|
# Offense count: 2
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, 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:
|
|
- 'spec/controllers/beamers_controller_spec.rb'
|
|
|
|
# Offense count: 2
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: Keywords, RequireColon.
|
|
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
|
|
Style/CommentAnnotation:
|
|
Exclude:
|
|
- 'spec/controllers/matches_controller_spec.rb'
|
|
- 'spec/services/group_stage_service_spec.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
|
# SupportedStyles: assign_to_condition, assign_inside_condition
|
|
Style/ConditionalAssignment:
|
|
Exclude:
|
|
- 'spec/factories/tournaments.rb'
|
|
|
|
# Offense count: 12
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: always, always_true, never
|
|
Style/FrozenStringLiteralComment:
|
|
Exclude:
|
|
- 'config/boot.rb'
|
|
- 'config/initializers/filter_parameter_logging.rb'
|
|
- 'config/initializers/new_framework_defaults_7_0.rb'
|
|
- 'db/migrate/20220516203838_add_service_name_to_active_storage_blobs.active_storage.rb'
|
|
- 'db/migrate/20220516203839_create_active_storage_variant_records.active_storage.rb'
|
|
- 'db/migrate/20220516203840_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb'
|
|
- 'db/migrate/20240407175005_add_position_to_group_scores.rb'
|
|
- 'db/migrate/20240407180900_add_default_to_position_in_group_scores.rb'
|
|
- 'db/migrate/20250309202658_add_timer_end_to_tournaments.rb'
|
|
- 'db/migrate/20260423133000_add_timer_mode_to_tournaments.rb'
|
|
- 'db/schema.rb'
|
|
- 'spec/support/profile.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
Style/GlobalStdStream:
|
|
Exclude:
|
|
- 'config/environments/production.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
|
|
Style/GuardClause:
|
|
Exclude:
|
|
- 'db/migrate/20220516203838_add_service_name_to_active_storage_blobs.active_storage.rb'
|
|
|
|
# Offense count: 2
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
Style/IdenticalConditionalBranches:
|
|
Exclude:
|
|
- 'spec/e2e/http/tournament_lifecycle_spec.rb'
|
|
|
|
# Offense count: 18
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
Style/IfUnlessModifier:
|
|
Exclude:
|
|
- 'app/controllers/tournaments_controller.rb'
|
|
- 'app/services/group_stage_service.rb'
|
|
- 'app/services/playoff_stage_service.rb'
|
|
- 'e2e/lib/scenario_runner.rb'
|
|
|
|
# Offense count: 2
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
# Configuration parameters: InverseMethods, InverseBlocks.
|
|
Style/InverseMethods:
|
|
Exclude:
|
|
- 'spec/e2e/http/tournament_lifecycle_spec.rb'
|
|
|
|
# Offense count: 3
|
|
Style/MultilineBlockChain:
|
|
Exclude:
|
|
- 'e2e/lib/api_client.rb'
|
|
- 'spec/e2e/http/tournament_follow_sync_spec.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: MinDigits, Strict, AllowedNumbers, AllowedPatterns.
|
|
Style/NumericLiterals:
|
|
Exclude:
|
|
- 'db/schema.rb'
|
|
|
|
# Offense count: 2
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
|
|
# SupportedStyles: predicate, comparison
|
|
Style/NumericPredicate:
|
|
Exclude:
|
|
- 'e2e/lib/scenario_runner.rb'
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: AllowedMethods.
|
|
# AllowedMethods: respond_to_missing?
|
|
Style/OptionalBooleanParameter:
|
|
Exclude:
|
|
- 'app/services/playoff_stage_service.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
Style/RedundantFreeze:
|
|
Exclude:
|
|
- 'e2e/lib/scenario_runner.rb'
|
|
|
|
# Offense count: 3
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: AllowMultipleReturnValues.
|
|
Style/RedundantReturn:
|
|
Exclude:
|
|
- 'app/controllers/tournaments_controller.rb'
|
|
|
|
# Offense count: 3
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
Style/RedundantSort:
|
|
Exclude:
|
|
- 'spec/e2e/http/tournament_follow_sync_spec.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
|
|
# AllowedMethods: present?, blank?, presence, try, try!
|
|
Style/SafeNavigation:
|
|
Exclude:
|
|
- 'config/spring.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
# Configuration parameters: Mode.
|
|
Style/StringConcatenation:
|
|
Exclude:
|
|
- 'config/spring.rb'
|
|
|
|
# Offense count: 246
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
|
# SupportedStyles: single_quotes, double_quotes
|
|
Style/StringLiterals:
|
|
Exclude:
|
|
- 'config/boot.rb'
|
|
- 'db/migrate/20220516203839_create_active_storage_variant_records.active_storage.rb'
|
|
- 'db/schema.rb'
|
|
- 'spec/e2e/http/api_surface_spec.rb'
|
|
|
|
# Offense count: 3
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: .
|
|
# SupportedStyles: percent, brackets
|
|
Style/SymbolArray:
|
|
EnforcedStyle: percent
|
|
MinSize: 10
|
|
|
|
# Offense count: 1
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
|
|
# AllowedMethods: define_method, mail, respond_to
|
|
Style/SymbolProc:
|
|
Exclude:
|
|
- 'spec/services/tournament_snapshot_importer_spec.rb'
|
|
|
|
# Offense count: 1
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: EnforcedStyleForMultiline.
|
|
# SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
|
|
Style/TrailingCommaInArrayLiteral:
|
|
Exclude:
|
|
- 'spec/services/playoff_stage_service_spec.rb'
|
|
|
|
# Offense count: 3
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: WordRegex.
|
|
# SupportedStyles: percent, brackets
|
|
Style/WordArray:
|
|
EnforcedStyle: percent
|
|
MinSize: 3
|
|
|
|
# Offense count: 6
|
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
Style/ZeroLengthPredicate:
|
|
Exclude:
|
|
- 'app/models/stage.rb'
|
|
- 'app/services/group_stage_service.rb'
|
|
|
|
# Offense count: 113
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
# Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
|
|
# URISchemes: http, https
|
|
Layout/LineLength:
|
|
Exclude:
|
|
- 'app/controllers/matches_controller.rb'
|
|
- 'app/controllers/tournaments_controller.rb'
|
|
- 'app/models/team_action_list.rb'
|
|
- 'app/services/group_stage_service.rb'
|
|
- 'app/services/playoff_stage_service.rb'
|
|
- 'db/schema.rb'
|
|
- 'e2e/lib/api_client.rb'
|
|
- 'e2e/lib/scenario_runner.rb'
|
|
- 'script/e2e_scenarios.rb'
|
|
- 'spec/controllers/groups_controller_spec.rb'
|
|
- 'spec/controllers/matches_controller_spec.rb'
|
|
- 'spec/controllers/stages_controller_spec.rb'
|
|
- 'spec/controllers/team_action_lists_controller_spec.rb'
|
|
- 'spec/e2e/http/api_surface_spec.rb'
|
|
- 'spec/e2e/http/tournament_follow_sync_spec.rb'
|
|
- 'spec/e2e/http/tournament_follow_sync_websocket_spec.rb'
|
|
- 'spec/e2e/http/tournament_lifecycle_spec.rb'
|
|
- 'spec/e2e/http/tournament_rendering_spec.rb'
|
|
- 'spec/e2e/http/tournament_sync_test_spec.rb'
|
|
- 'spec/e2e/http/tournament_team_action_lists_websocket_spec.rb'
|
|
- 'spec/e2e/http/tournament_timer_follow_sync_websocket_spec.rb'
|
|
- 'spec/factories/tournaments.rb'
|
|
- 'spec/services/group_stage_service_spec.rb'
|
|
- 'spec/services/team_action_list_service_spec.rb'
|
|
- 'spec/services/tournament_snapshot_importer_spec.rb'
|
|
- 'spec/services/tournament_sync_processor_spec.rb'
|