mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
The schema is automatically generated, so RuboCop's recommendations are non-actionable; ignore it as in rubocop-hq/rubocop#752.
1246 lines
37 KiB
YAML
1246 lines
37 KiB
YAML
# This configuration was generated by
|
|
# `rubocop --auto-gen-config`
|
|
# on 2019-10-16 20:30:53 -0700 using RuboCop version 0.75.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: 351
|
|
# Cop supports --auto-correct.
|
|
Capybara/CurrentPathExpectation:
|
|
Exclude:
|
|
- 'spec/features/base_controller_spec.rb'
|
|
- 'spec/features/cfp_ability_spec.rb'
|
|
- 'spec/features/commercials_spec.rb'
|
|
- 'spec/features/conference_registration_spec.rb'
|
|
- 'spec/features/info_desk_ability_spec.rb'
|
|
- 'spec/features/organization_admin_ability_spec.rb'
|
|
- 'spec/features/organizer_ability_spec.rb'
|
|
- 'spec/features/proposals_spec.rb'
|
|
- 'spec/features/registration_periods_spec.rb'
|
|
- 'spec/features/splashpage_spec.rb'
|
|
- 'spec/features/ticket_purchases_spec.rb'
|
|
- 'spec/features/track_organizer_ability_spec.rb'
|
|
- 'spec/features/user_ability_spec.rb'
|
|
|
|
# Offense count: 161
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnabledMethods.
|
|
Capybara/FeatureMethods:
|
|
Enabled: false
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
Layout/ClosingParenthesisIndentation:
|
|
Exclude:
|
|
- 'app/controllers/conference_registrations_controller.rb'
|
|
- 'app/controllers/proposals_controller.rb'
|
|
- 'app/models/commercial.rb'
|
|
- 'spec/controllers/users/omniauth_callbacks_controller_spec.rb'
|
|
|
|
# Offense count: 14
|
|
# Cop supports --auto-correct.
|
|
Layout/CommentIndentation:
|
|
Exclude:
|
|
- 'app/controllers/admin/comments_controller.rb'
|
|
- 'app/controllers/admin/difficulty_levels_controller.rb'
|
|
- 'app/models/conference.rb'
|
|
- 'app/models/program.rb'
|
|
- 'app/models/track.rb'
|
|
- 'spec/features/volunteers_spec.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowBorderComment, AllowMarginComment.
|
|
Layout/EmptyComment:
|
|
Exclude:
|
|
- 'config/initializers/formtastic.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Layout/EmptyLineAfterMagicComment:
|
|
Exclude:
|
|
- 'spec/models/conference_spec.rb'
|
|
|
|
# Offense count: 118
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: empty_lines, no_empty_lines
|
|
Layout/EmptyLinesAroundBlockBody:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
|
Exclude:
|
|
- 'app/models/payment.rb'
|
|
|
|
# Offense count: 14
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
|
Layout/ExtraSpacing:
|
|
Exclude:
|
|
- 'Guardfile'
|
|
- 'app/controllers/application_controller.rb'
|
|
- 'app/views/admin/events/_all_with_comments.xlsx.axlsx'
|
|
- 'bin/rails'
|
|
- 'config.ru'
|
|
- 'config/environments/test.rb'
|
|
- 'config/initializers/airbrake.rb'
|
|
- 'db/migrate/20140623101032_create_ahoy_events.rb'
|
|
- 'db/migrate/20140701123203_add_events_per_week_to_conference.rb'
|
|
- 'db/migrate/20140719160903_create_delayed_jobs.rb'
|
|
- 'spec/models/conference_spec.rb'
|
|
|
|
# Offense count: 5
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: IndentationWidth.
|
|
Layout/IndentAssignment:
|
|
Exclude:
|
|
- 'app/helpers/format_helper.rb'
|
|
- 'config/environments/development.rb'
|
|
|
|
# Offense count: 43
|
|
# 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/IndentFirstArgument:
|
|
Enabled: false
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
|
Layout/IndentFirstArrayElement:
|
|
Exclude:
|
|
- 'app/models/conference.rb'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
|
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
|
Layout/IndentFirstHashElement:
|
|
Exclude:
|
|
- 'app/models/user.rb'
|
|
- 'config/routes.rb'
|
|
- 'db/migrate/20140701123203_add_events_per_week_to_conference.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: normal, indented_internal_methods
|
|
Layout/IndentationConsistency:
|
|
Exclude:
|
|
- 'app/controllers/users_controller.rb'
|
|
- 'app/models/event.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: Width, IgnoredPatterns.
|
|
Layout/IndentationWidth:
|
|
Exclude:
|
|
- 'app/controllers/users_controller.rb'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowDoxygenCommentStyle.
|
|
Layout/LeadingCommentSpace:
|
|
Exclude:
|
|
- 'Guardfile'
|
|
- 'app/models/comment.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: symmetrical, new_line, same_line
|
|
Layout/MultilineArrayBraceLayout:
|
|
Exclude:
|
|
- 'app/controllers/conference_registrations_controller.rb'
|
|
|
|
# Offense count: 5
|
|
# Cop supports --auto-correct.
|
|
Layout/MultilineBlockLayout:
|
|
Exclude:
|
|
- 'app/serializers/conference_serializer.rb'
|
|
|
|
# Offense count: 7
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: symmetrical, new_line, same_line
|
|
Layout/MultilineHashBraceLayout:
|
|
Exclude:
|
|
- 'app/serializers/conference_serializer.rb'
|
|
- 'config/routes.rb'
|
|
- 'spec/models/event_spec.rb'
|
|
|
|
# Offense count: 36
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: symmetrical, new_line, same_line
|
|
Layout/MultilineMethodCallBraceLayout:
|
|
Enabled: false
|
|
|
|
# Offense count: 56
|
|
# 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, IndentationWidth.
|
|
# SupportedStyles: aligned, indented
|
|
Layout/MultilineOperationIndentation:
|
|
Exclude:
|
|
- 'app/controllers/application_controller.rb'
|
|
- 'app/models/conference.rb'
|
|
- 'app/models/event.rb'
|
|
- 'db/migrate/20140701123203_add_events_per_week_to_conference.rb'
|
|
|
|
# Offense count: 64
|
|
# Cop supports --auto-correct.
|
|
Layout/SpaceAfterComma:
|
|
Exclude:
|
|
- 'app/views/admin/booths/_all_booths.xlsx.axlsx'
|
|
- 'app/views/admin/booths/_confirmed_booths.xlsx.axlsx'
|
|
- 'app/views/admin/events/_all_events.xlsx.axlsx'
|
|
- 'app/views/admin/events/_all_with_comments.xlsx.axlsx'
|
|
- 'app/views/admin/events/_confirmed_events.xlsx.axlsx'
|
|
- 'app/views/admin/tracks/_all_tracks.xlsx.axlsx'
|
|
- 'app/views/admin/tracks/_confirmed_tracks.xlsx.axlsx'
|
|
- 'lib/tasks/data_demo.rake'
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: space, no_space
|
|
Layout/SpaceAroundEqualsInParameterDefault:
|
|
Exclude:
|
|
- 'app/helpers/format_helper.rb'
|
|
- 'app/models/event.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Layout/SpaceAroundKeyword:
|
|
Exclude:
|
|
- 'config/initializers/feature.rb'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowForAlignment.
|
|
Layout/SpaceAroundOperators:
|
|
Exclude:
|
|
- 'app/views/admin/events/_all_with_comments.xlsx.axlsx'
|
|
- 'config/environments/test.rb'
|
|
- 'config/initializers/airbrake.rb'
|
|
- 'lib/tasks/data.rake'
|
|
|
|
# Offense count: 138
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
|
# SupportedStyles: space, no_space
|
|
# SupportedStylesForEmptyBraces: space, no_space
|
|
Layout/SpaceBeforeBlockBraces:
|
|
Enabled: false
|
|
|
|
# Offense count: 7
|
|
# Cop supports --auto-correct.
|
|
Layout/SpaceBeforeComma:
|
|
Exclude:
|
|
- 'app/views/admin/booths/_all_booths.xlsx.axlsx'
|
|
- 'app/views/admin/booths/_confirmed_booths.xlsx.axlsx'
|
|
- 'app/views/admin/events/_all_events.xlsx.axlsx'
|
|
- 'app/views/admin/events/_confirmed_events.xlsx.axlsx'
|
|
- 'app/views/admin/tracks/_all_tracks.xlsx.axlsx'
|
|
- 'app/views/admin/tracks/_confirmed_tracks.xlsx.axlsx'
|
|
- 'lib/tasks/data_demo.rake'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Layout/SpaceBeforeSemicolon:
|
|
Exclude:
|
|
- 'Guardfile'
|
|
|
|
# Offense count: 8
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
|
|
# SupportedStyles: space, no_space, compact
|
|
# SupportedStylesForEmptyBrackets: space, no_space
|
|
Layout/SpaceInsideArrayLiteralBrackets:
|
|
Exclude:
|
|
- 'config/initializers/devise.rb'
|
|
- 'config/routes.rb'
|
|
|
|
# Offense count: 44
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
|
# SupportedStyles: space, no_space
|
|
# SupportedStylesForEmptyBraces: space, no_space
|
|
Layout/SpaceInsideBlockBraces:
|
|
Exclude:
|
|
- 'app/controllers/admin/comments_controller.rb'
|
|
- 'app/controllers/admin/questions_controller.rb'
|
|
- 'app/helpers/application_helper.rb'
|
|
- 'app/models/program.rb'
|
|
- 'app/models/ticket.rb'
|
|
- 'app/models/user.rb'
|
|
- 'lib/tasks/events_registrations.rake'
|
|
- 'spec/ability/ability_spec.rb'
|
|
- 'spec/controllers/admin/event_schedules_controller_spec.rb'
|
|
- 'spec/controllers/admin/schedules_controller_spec.rb'
|
|
- 'spec/features/splashpage_spec.rb'
|
|
- 'spec/models/user_spec.rb'
|
|
|
|
# Offense count: 37
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
|
# SupportedStyles: space, no_space, compact
|
|
# SupportedStylesForEmptyBraces: space, no_space
|
|
Layout/SpaceInsideHashLiteralBraces:
|
|
Exclude:
|
|
- 'app/controllers/api/v1/speakers_controller.rb'
|
|
- 'app/models/conference.rb'
|
|
- 'app/models/event_type.rb'
|
|
- 'app/models/user.rb'
|
|
- 'app/views/admin/booths/_all_booths.xlsx.axlsx'
|
|
- 'app/views/admin/booths/_confirmed_booths.xlsx.axlsx'
|
|
- 'app/views/admin/events/_all_events.xlsx.axlsx'
|
|
- 'app/views/admin/events/_confirmed_events.xlsx.axlsx'
|
|
- 'app/views/admin/events/events.xlsx.axlsx'
|
|
- 'app/views/admin/tracks/_all_tracks.xlsx.axlsx'
|
|
- 'app/views/admin/tracks/_confirmed_tracks.xlsx.axlsx'
|
|
- 'config/routes.rb'
|
|
- 'spec/models/event_spec.rb'
|
|
- 'spec/models/payment_spec.rb'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: space, no_space
|
|
Layout/SpaceInsideParens:
|
|
Exclude:
|
|
- 'app/views/admin/registrations/index.xlsx.axlsx'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Layout/SpaceInsidePercentLiteralDelimiters:
|
|
Exclude:
|
|
- 'Gemfile'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: space, no_space
|
|
Layout/SpaceInsideStringInterpolation:
|
|
Exclude:
|
|
- 'config/initializers/active_record_log_subscriber.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: IndentationWidth.
|
|
Layout/Tab:
|
|
Exclude:
|
|
- 'app/controllers/admin/resources_controller.rb'
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: final_newline, final_blank_line
|
|
Layout/TrailingBlankLines:
|
|
Exclude:
|
|
- 'app/views/admin/registrations/index.xlsx.axlsx'
|
|
- 'lib/tasks/event_attatchments.rake'
|
|
- 'lib/tasks/roles.rake'
|
|
|
|
# Offense count: 13
|
|
Lint/AmbiguousBlockAssociation:
|
|
Exclude:
|
|
- 'spec/controllers/admin/conferences_controller_spec.rb'
|
|
- 'spec/controllers/admin/event_schedules_controller_spec.rb'
|
|
- 'spec/controllers/admin/registration_periods_controller_spec.rb'
|
|
- 'spec/controllers/admin/users_controller_spec.rb'
|
|
- 'spec/controllers/proposals_controller_spec.rb'
|
|
- 'spec/controllers/schedules_controller_spec.rb'
|
|
- 'spec/models/user_spec.rb'
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: AllowSafeAssignment.
|
|
Lint/AssignmentInCondition:
|
|
Exclude:
|
|
- 'bin/spring'
|
|
|
|
# Offense count: 2
|
|
Lint/DuplicatedKey:
|
|
Exclude:
|
|
- 'db/migrate/20140801164901_move_conference_media_to_commercial.rb'
|
|
- 'db/migrate/20140801170430_move_event_media_to_commercial.rb'
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: AllowComments.
|
|
Lint/HandleExceptions:
|
|
Exclude:
|
|
- 'bin/rspec'
|
|
|
|
# Offense count: 4
|
|
Lint/IneffectiveAccessModifier:
|
|
Exclude:
|
|
- 'app/models/commercial.rb'
|
|
- 'app/models/conference.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Lint/ScriptPermission:
|
|
Exclude:
|
|
- 'Guardfile'
|
|
- 'Rakefile'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Lint/SendWithMixinArgument:
|
|
Exclude:
|
|
- 'config/initializers/active_record_log_subscriber.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
|
|
Lint/UnusedBlockArgument:
|
|
Exclude:
|
|
- 'lib/tasks/user.rake'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
|
|
Lint/UnusedMethodArgument:
|
|
Exclude:
|
|
- 'config/initializers/fuckups.rb'
|
|
|
|
# Offense count: 139
|
|
Metrics/AbcSize:
|
|
Max: 70
|
|
|
|
# Offense count: 314
|
|
# Configuration parameters: CountComments, ExcludedMethods.
|
|
# ExcludedMethods: refine
|
|
Metrics/BlockLength:
|
|
Max: 1344
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: CountBlocks.
|
|
Metrics/BlockNesting:
|
|
Max: 4
|
|
|
|
# Offense count: 13
|
|
# Configuration parameters: CountComments.
|
|
Metrics/ClassLength:
|
|
Max: 652
|
|
|
|
# Offense count: 33
|
|
Metrics/CyclomaticComplexity:
|
|
Max: 14
|
|
|
|
# Offense count: 147
|
|
# Configuration parameters: CountComments, ExcludedMethods.
|
|
Metrics/MethodLength:
|
|
Max: 56
|
|
|
|
# Offense count: 5
|
|
# Configuration parameters: CountComments.
|
|
Metrics/ModuleLength:
|
|
Max: 173
|
|
|
|
# Offense count: 22
|
|
Metrics/PerceivedComplexity:
|
|
Max: 16
|
|
|
|
# Offense count: 13
|
|
Naming/AccessorMethodName:
|
|
Exclude:
|
|
- 'app/models/conference.rb'
|
|
- 'app/models/user.rb'
|
|
|
|
# Offense count: 2
|
|
# Configuration parameters: Blacklist.
|
|
# Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))
|
|
Naming/HeredocDelimiterNaming:
|
|
Exclude:
|
|
- 'spec/factories/users.rb'
|
|
- 'spec/models/user_spec.rb'
|
|
|
|
# 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/**/*'
|
|
- 'app/models/comment.rb'
|
|
- 'app/models/contact.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: PreferredName.
|
|
Naming/RescuedExceptionsVariableName:
|
|
Exclude:
|
|
- 'app/models/commercial.rb'
|
|
- 'app/models/payment.rb'
|
|
|
|
# Offense count: 2
|
|
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
|
# AllowedNames: io, id, to, by, on, in, at, ip, db
|
|
Naming/UncommunicativeMethodParamName:
|
|
Exclude:
|
|
- 'app/models/conference.rb'
|
|
|
|
# Offense count: 2
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: snake_case, normalcase, non_integer
|
|
Naming/VariableNumber:
|
|
Exclude:
|
|
- 'spec/models/ticket_purchase_spec.rb'
|
|
|
|
# Offense count: 28
|
|
RSpec/AnyInstance:
|
|
Exclude:
|
|
- 'spec/controllers/admin/rooms_controller_spec.rb'
|
|
- 'spec/controllers/admin/sponsorship_levels_controller_spec.rb'
|
|
- 'spec/controllers/admin/tracks_controller_spec.rb'
|
|
- 'spec/controllers/admin/users_controller_spec.rb'
|
|
- 'spec/controllers/conference_registration_controller_spec.rb'
|
|
- 'spec/controllers/proposals_controller_spec.rb'
|
|
- 'spec/controllers/tracks_controller_spec.rb'
|
|
|
|
# Offense count: 317
|
|
# Configuration parameters: Prefixes.
|
|
# Prefixes: when, with, without
|
|
RSpec/ContextWording:
|
|
Enabled: false
|
|
|
|
# Offense count: 73
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: SkipBlocks, EnforcedStyle.
|
|
# SupportedStyles: described_class, explicit
|
|
RSpec/DescribedClass:
|
|
Exclude:
|
|
- 'spec/mailers/mailbot_spec.rb'
|
|
- 'spec/models/cfp_spec.rb'
|
|
- 'spec/models/conference_spec.rb'
|
|
- 'spec/models/role_spec.rb'
|
|
- 'spec/models/sponsorship_level_spec.rb'
|
|
- 'spec/models/survey_question_spec.rb'
|
|
- 'spec/models/ticket_purchase_spec.rb'
|
|
- 'spec/models/ticket_spec.rb'
|
|
- 'spec/models/user_spec.rb'
|
|
- 'spec/serializers/conference_serializer_spec.rb'
|
|
- 'spec/serializers/event_serializer_spec.rb'
|
|
- 'spec/serializers/room_serializer_spec.rb'
|
|
- 'spec/serializers/speaker_serializer_spec.rb'
|
|
- 'spec/serializers/track_serializer_spec.rb'
|
|
|
|
# Offense count: 13
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowConsecutiveOneLiners.
|
|
RSpec/EmptyLineAfterExample:
|
|
Exclude:
|
|
- 'spec/ability/ability_spec.rb'
|
|
- 'spec/controllers/admin/comments_controller_spec.rb'
|
|
- 'spec/controllers/admin/registration_periods_controller_spec.rb'
|
|
- 'spec/controllers/admin/users_controller_spec.rb'
|
|
- 'spec/helpers/events_helper_spec.rb'
|
|
- 'spec/models/event_spec.rb'
|
|
- 'spec/models/survey_spec.rb'
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
RSpec/EmptyLineAfterExampleGroup:
|
|
Exclude:
|
|
- 'spec/controllers/admin/users_controller_spec.rb'
|
|
|
|
# Offense count: 11
|
|
# Cop supports --auto-correct.
|
|
RSpec/EmptyLineAfterFinalLet:
|
|
Exclude:
|
|
- 'spec/controllers/admin/event_schedules_controller_spec.rb'
|
|
- 'spec/controllers/admin/users_controller_spec.rb'
|
|
- 'spec/controllers/application_controller_spec.rb'
|
|
- 'spec/features/conference_spec.rb'
|
|
- 'spec/models/conference_spec.rb'
|
|
- 'spec/models/payment_spec.rb'
|
|
- 'spec/models/ticket_spec.rb'
|
|
|
|
# Offense count: 16
|
|
# Cop supports --auto-correct.
|
|
RSpec/EmptyLineAfterHook:
|
|
Exclude:
|
|
- 'spec/controllers/admin/booths_controller_spec.rb'
|
|
- 'spec/controllers/admin/comments_controller_spec.rb'
|
|
- 'spec/controllers/admin/organizations_controller_spec.rb'
|
|
- 'spec/controllers/admin/ticket_scannings_controller_spec.rb'
|
|
- 'spec/controllers/admin/users_controller_spec.rb'
|
|
- 'spec/features/organization_spec.rb'
|
|
- 'spec/features/roles_spec.rb'
|
|
- 'spec/models/conference_spec.rb'
|
|
- 'spec/models/payment_spec.rb'
|
|
- 'spec/models/program_spec.rb'
|
|
|
|
# Offense count: 8
|
|
# Cop supports --auto-correct.
|
|
RSpec/EmptyLineAfterSubject:
|
|
Exclude:
|
|
- 'spec/ability/ability_spec.rb'
|
|
- 'spec/models/booth_spec.rb'
|
|
- 'spec/models/cfp_spec.rb'
|
|
- 'spec/models/event_spec.rb'
|
|
- 'spec/models/program_spec.rb'
|
|
- 'spec/models/registration_spec.rb'
|
|
- 'spec/models/survey_spec.rb'
|
|
- 'spec/models/track_spec.rb'
|
|
|
|
# Offense count: 220
|
|
# Configuration parameters: Max.
|
|
RSpec/ExampleLength:
|
|
Enabled: false
|
|
|
|
# Offense count: 18
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: CustomTransform, IgnoredWords.
|
|
RSpec/ExampleWording:
|
|
Exclude:
|
|
- 'spec/controllers/admin/organizations_controller_spec.rb'
|
|
- 'spec/controllers/admin/registration_periods_controller_spec.rb'
|
|
- 'spec/controllers/application_controller_spec.rb'
|
|
- 'spec/helpers/application_helper_spec.rb'
|
|
- 'spec/helpers/events_helper_spec.rb'
|
|
- 'spec/helpers/format_helper_spec.rb'
|
|
- 'spec/models/conference_spec.rb'
|
|
- 'spec/models/event_spec.rb'
|
|
- 'spec/models/ticket_purchase_spec.rb'
|
|
- 'spec/models/ticket_spec.rb'
|
|
|
|
# Offense count: 37
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: method_call, block
|
|
RSpec/ExpectChange:
|
|
Exclude:
|
|
- 'spec/controllers/admin/booths_controller_spec.rb'
|
|
- 'spec/controllers/admin/conferences_controller_spec.rb'
|
|
- 'spec/controllers/admin/event_schedules_controller_spec.rb'
|
|
- 'spec/controllers/admin/organizations_controller_spec.rb'
|
|
- 'spec/controllers/admin/registration_periods_controller_spec.rb'
|
|
- 'spec/controllers/admin/schedules_controller_spec.rb'
|
|
- 'spec/controllers/admin/ticket_scannings_controller_spec.rb'
|
|
- 'spec/controllers/admin/users_controller_spec.rb'
|
|
- 'spec/controllers/conference_registration_controller_spec.rb'
|
|
- 'spec/controllers/proposals_controller_spec.rb'
|
|
- 'spec/features/tracks_spec.rb'
|
|
- 'spec/models/conference_spec.rb'
|
|
- 'spec/models/event_spec.rb'
|
|
- 'spec/models/user_spec.rb'
|
|
|
|
# Offense count: 4
|
|
# Configuration parameters: CustomTransform, IgnoreMethods.
|
|
RSpec/FilePath:
|
|
Exclude:
|
|
- 'spec/controllers/conference_registration_controller_spec.rb'
|
|
- 'spec/controllers/physical_ticket_controller_spec.rb'
|
|
- 'spec/models/comment_spec.rb'
|
|
- 'spec/models/openid.rb'
|
|
|
|
# Offense count: 171
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: implicit, each, example
|
|
RSpec/HookArgument:
|
|
Enabled: false
|
|
|
|
# Offense count: 140
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: is_expected, should
|
|
RSpec/ImplicitExpect:
|
|
Exclude:
|
|
- 'spec/ability/ability_spec.rb'
|
|
- 'spec/models/commercial_spec.rb'
|
|
- 'spec/models/conference_spec.rb'
|
|
- 'spec/models/event_schedule_spec.rb'
|
|
- 'spec/models/event_type_spec.rb'
|
|
- 'spec/models/organization_spec.rb'
|
|
- 'spec/models/registration_period_spec.rb'
|
|
- 'spec/models/room_spec.rb'
|
|
- 'spec/models/schedule_spec.rb'
|
|
- 'spec/models/sponsor_spec.rb'
|
|
- 'spec/models/sponsorship_level_spec.rb'
|
|
- 'spec/models/ticket_purchase_spec.rb'
|
|
- 'spec/models/ticket_spec.rb'
|
|
- 'spec/models/user_spec.rb'
|
|
|
|
# Offense count: 39
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: single_line_only, single_statement_only, disallow
|
|
RSpec/ImplicitSubject:
|
|
Exclude:
|
|
- 'spec/ability/ability_spec.rb'
|
|
- 'spec/models/booth_spec.rb'
|
|
- 'spec/models/conference_spec.rb'
|
|
- 'spec/models/event_type_spec.rb'
|
|
- 'spec/models/organization_spec.rb'
|
|
- 'spec/models/registration_period_spec.rb'
|
|
- 'spec/models/sponsor_spec.rb'
|
|
- 'spec/models/sponsorship_level_spec.rb'
|
|
- 'spec/models/ticket_purchase_spec.rb'
|
|
- 'spec/models/ticket_spec.rb'
|
|
|
|
# Offense count: 321
|
|
# Configuration parameters: AssignmentOnly.
|
|
RSpec/InstanceVariable:
|
|
Exclude:
|
|
- 'spec/controllers/admin/sponsorship_levels_controller_spec.rb'
|
|
- 'spec/controllers/admin/versions_controller_spec.rb'
|
|
- 'spec/controllers/api/v1/conferences_controller_spec.rb'
|
|
- 'spec/controllers/application_controller_spec.rb'
|
|
- 'spec/controllers/conference_registration_controller_spec.rb'
|
|
- 'spec/controllers/conferences_controller_spec.rb'
|
|
- 'spec/controllers/confirmations_controller_spec.rb'
|
|
- 'spec/controllers/proposals_controller_spec.rb'
|
|
- 'spec/features/proposals_spec.rb'
|
|
- 'spec/helpers/application_helper_spec.rb'
|
|
- 'spec/models/conference_spec.rb'
|
|
- 'spec/models/event_schedule_spec.rb'
|
|
- 'spec/models/sponsorship_level_spec.rb'
|
|
- 'spec/models/track_spec.rb'
|
|
- 'spec/models/user_spec.rb'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
RSpec/LeadingSubject:
|
|
Exclude:
|
|
- 'spec/ability/ability_spec.rb'
|
|
- 'spec/models/conference_spec.rb'
|
|
- 'spec/models/ticket_spec.rb'
|
|
|
|
# Offense count: 55
|
|
RSpec/LetSetup:
|
|
Enabled: false
|
|
|
|
# Offense count: 13
|
|
# Configuration parameters: .
|
|
# SupportedStyles: have_received, receive
|
|
RSpec/MessageSpies:
|
|
EnforcedStyle: receive
|
|
|
|
# Offense count: 1
|
|
RSpec/MultipleDescribes:
|
|
Exclude:
|
|
- 'spec/controllers/application_controller_spec.rb'
|
|
|
|
# Offense count: 278
|
|
# Configuration parameters: AggregateFailuresByDefault.
|
|
RSpec/MultipleExpectations:
|
|
Max: 97
|
|
|
|
# Offense count: 387
|
|
# Configuration parameters: IgnoreSharedExamples.
|
|
RSpec/NamedSubject:
|
|
Exclude:
|
|
- 'spec/models/conference_spec.rb'
|
|
- 'spec/models/registration_spec.rb'
|
|
- 'spec/models/room_spec.rb'
|
|
- 'spec/models/track_spec.rb'
|
|
|
|
# Offense count: 206
|
|
RSpec/NestedGroups:
|
|
Max: 7
|
|
|
|
# Offense count: 85
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: not_to, to_not
|
|
RSpec/NotToNot:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
RSpec/OverwritingSetup:
|
|
Exclude:
|
|
- 'spec/controllers/admin/booths_controller_spec.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: Strict, EnforcedStyle.
|
|
# SupportedStyles: inflected, explicit
|
|
RSpec/PredicateMatcher:
|
|
Exclude:
|
|
- 'spec/features/code_of_conduct_spec.rb'
|
|
|
|
# Offense count: 4
|
|
RSpec/RepeatedDescription:
|
|
Exclude:
|
|
- 'spec/models/conference_spec.rb'
|
|
|
|
# Offense count: 2
|
|
RSpec/RepeatedExample:
|
|
Exclude:
|
|
- 'spec/models/conference_spec.rb'
|
|
|
|
# Offense count: 10
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: and_return, block
|
|
RSpec/ReturnFromStub:
|
|
Exclude:
|
|
- 'spec/helpers/events_helper_spec.rb'
|
|
|
|
# Offense count: 19
|
|
RSpec/ScatteredLet:
|
|
Exclude:
|
|
- 'spec/ability/ability_spec.rb'
|
|
- 'spec/models/payment_spec.rb'
|
|
|
|
# Offense count: 2
|
|
RSpec/ScatteredSetup:
|
|
Exclude:
|
|
- 'spec/models/payment_spec.rb'
|
|
|
|
# Offense count: 7
|
|
RSpec/SubjectStub:
|
|
Exclude:
|
|
- 'spec/models/registration_spec.rb'
|
|
- 'spec/models/room_spec.rb'
|
|
- 'spec/models/track_spec.rb'
|
|
|
|
# Offense count: 3
|
|
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
|
|
RSpec/VerifiedDoubles:
|
|
Exclude:
|
|
- 'spec/datatables/user_datatable_spec.rb'
|
|
- 'spec/pdfs/ticket_pdf_spec.rb'
|
|
|
|
# Offense count: 1
|
|
RSpec/VoidExpect:
|
|
Exclude:
|
|
- 'spec/models/conference_spec.rb'
|
|
|
|
# Offense count: 3
|
|
Security/Open:
|
|
Exclude:
|
|
- 'app/pdfs/ticket_pdf.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: is_a?, kind_of?
|
|
Style/ClassCheck:
|
|
Exclude:
|
|
- 'app/models/email_settings.rb'
|
|
|
|
# Offense count: 1
|
|
Style/ClassVars:
|
|
Exclude:
|
|
- 'spec/support/kneet_connections.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Style/ColonMethodCall:
|
|
Exclude:
|
|
- 'app/models/commercial.rb'
|
|
- 'app/models/contact.rb'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
|
# SupportedStyles: assign_to_condition, assign_inside_condition
|
|
Style/ConditionalAssignment:
|
|
Exclude:
|
|
- 'app/helpers/format_helper.rb'
|
|
- 'config/initializers/airbrake.rb'
|
|
- 'db/migrate/20140610165551_migrate_data_person_to_user.rb'
|
|
- 'db/migrate/20140820124117_undo_wrong_migration20140801080705_add_users_to_events.rb'
|
|
|
|
# Offense count: 516
|
|
Style/Documentation:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
Style/DoubleNegation:
|
|
Exclude:
|
|
- 'config/environments/production.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Style/EmptyCaseCondition:
|
|
Exclude:
|
|
- 'app/helpers/format_helper.rb'
|
|
- 'app/helpers/versions_helper.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/EmptyLiteral:
|
|
Exclude:
|
|
- 'spec/models/conference_spec.rb'
|
|
|
|
# Offense count: 7
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: compact, expanded
|
|
Style/EmptyMethod:
|
|
Exclude:
|
|
- 'app/controllers/admin/lodgings_controller.rb'
|
|
- 'app/controllers/users_controller.rb'
|
|
- 'db/migrate/20121223115125_create_tracks_table.rb'
|
|
- 'db/migrate/20121223115135_create_events_table.rb'
|
|
- 'db/migrate/20130103134212_create_registrations_table.rb'
|
|
- 'db/migrate/20130206192339_rename_attending_social_events_with_partner.rb'
|
|
- 'db/migrate/20130216122155_set_registration_defaults_to_false.rb'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
Style/Encoding:
|
|
Exclude:
|
|
- 'app/uploaders/picture_uploader.rb'
|
|
- 'config/initializers/formtastic.rb'
|
|
- 'config/initializers/money.rb'
|
|
- 'spec/models/conference_spec.rb'
|
|
|
|
# Offense count: 10
|
|
# Cop supports --auto-correct.
|
|
Style/ExpandPathArguments:
|
|
Exclude:
|
|
- 'Rakefile'
|
|
- 'bin/bundle'
|
|
- 'bin/rails'
|
|
- 'bin/rspec'
|
|
- 'bin/setup'
|
|
- 'bin/update'
|
|
- 'config/application.rb'
|
|
- 'config/environment.rb'
|
|
- 'spec/spec_helper.rb'
|
|
|
|
# Offense count: 1
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: annotated, template, unannotated
|
|
Style/FormatStringToken:
|
|
Exclude:
|
|
- 'app/uploaders/picture_uploader.rb'
|
|
|
|
# Offense count: 49
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: always, never
|
|
Style/FrozenStringLiteralComment:
|
|
Enabled: false
|
|
|
|
# Offense count: 29
|
|
# Configuration parameters: MinBodyLength.
|
|
Style/GuardClause:
|
|
Enabled: false
|
|
|
|
# Offense count: 7
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
|
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
|
Style/HashSyntax:
|
|
Exclude:
|
|
- 'Gemfile'
|
|
- 'app/views/admin/events/events.xlsx.axlsx'
|
|
- 'app/views/admin/registrations/index.xlsx.axlsx'
|
|
- 'lib/tasks/user.rake'
|
|
|
|
# Offense count: 58
|
|
# Cop supports --auto-correct.
|
|
Style/IfUnlessModifier:
|
|
Enabled: false
|
|
|
|
# Offense count: 10
|
|
# Cop supports --auto-correct.
|
|
Style/LineEndConcatenation:
|
|
Exclude:
|
|
- 'spec/features/conference_spec.rb'
|
|
- 'spec/features/registration_periods_spec.rb'
|
|
|
|
# Offense count: 9
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: require_parentheses, require_no_parentheses, require_no_parentheses_except_multiline
|
|
Style/MethodDefParentheses:
|
|
Exclude:
|
|
- 'app/models/conference.rb'
|
|
- 'app/models/user.rb'
|
|
- 'lib/tasks/demo_data_for_development.rake'
|
|
|
|
# Offense count: 4
|
|
Style/MixinUsage:
|
|
Exclude:
|
|
- 'bin/setup'
|
|
- 'bin/update'
|
|
- 'config/application.rb'
|
|
- 'spec/spec_helper.rb'
|
|
|
|
# Offense count: 7
|
|
# Cop supports --auto-correct.
|
|
Style/MultilineIfModifier:
|
|
Exclude:
|
|
- 'app/controllers/conferences_controller.rb'
|
|
- 'app/controllers/schedules_controller.rb'
|
|
- 'app/models/cfp.rb'
|
|
- 'app/models/event.rb'
|
|
- 'app/models/registration_period.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: literals, strict
|
|
Style/MutableConstant:
|
|
Exclude:
|
|
- 'app/models/event_user.rb'
|
|
- 'lib/tasks/migrate_config.rake'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: Whitelist.
|
|
# Whitelist: be, be_a, be_an, be_between, be_falsey, be_kind_of, be_instance_of, be_truthy, be_within, eq, eql, end_with, include, match, raise_error, respond_to, start_with
|
|
Style/NestedParenthesizedCalls:
|
|
Exclude:
|
|
- 'spec/features/conference_spec.rb'
|
|
- 'spec/models/conference_spec.rb'
|
|
|
|
# Offense count: 27
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, MinBodyLength.
|
|
# SupportedStyles: skip_modifier_ifs, always
|
|
Style/Next:
|
|
Enabled: false
|
|
|
|
# Offense count: 120
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedOctalStyle.
|
|
# SupportedOctalStyles: zero_with_o, zero_only
|
|
Style/NumericLiteralPrefix:
|
|
Exclude:
|
|
- 'config/environments/test.rb'
|
|
- 'spec/controllers/admin/conferences_controller_spec.rb'
|
|
- 'spec/controllers/conference_registration_controller_spec.rb'
|
|
- 'spec/helpers/date_time_helper_spec.rb'
|
|
- 'spec/models/conference_spec.rb'
|
|
- 'spec/models/email_settings_spec.rb'
|
|
- 'spec/serializers/conference_serializer_spec.rb'
|
|
- 'spec/serializers/event_serializer_spec.rb'
|
|
|
|
# Offense count: 8
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: Strict.
|
|
Style/NumericLiterals:
|
|
MinDigits: 15
|
|
|
|
# Offense count: 36
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
|
|
# SupportedStyles: predicate, comparison
|
|
Style/NumericPredicate:
|
|
Exclude:
|
|
- 'spec/**/*'
|
|
- 'app/controllers/admin/conferences_controller.rb'
|
|
- 'app/helpers/application_helper.rb'
|
|
- 'app/helpers/date_time_helper.rb'
|
|
- 'app/helpers/format_helper.rb'
|
|
- 'app/models/cfp.rb'
|
|
- 'app/models/conference.rb'
|
|
- 'app/models/event.rb'
|
|
- 'app/models/program.rb'
|
|
- 'app/models/registration.rb'
|
|
- 'app/models/ticket_purchase.rb'
|
|
- 'app/models/user.rb'
|
|
- 'lib/tasks/events_registrations.rake'
|
|
|
|
# Offense count: 3
|
|
Style/OptionalArguments:
|
|
Exclude:
|
|
- 'app/models/event.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/OrAssignment:
|
|
Exclude:
|
|
- 'app/controllers/schedules_controller.rb'
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowSafeAssignment, AllowInMultilineConditions.
|
|
Style/ParenthesesAroundCondition:
|
|
Exclude:
|
|
- 'app/controllers/admin/base_controller.rb'
|
|
- 'app/controllers/application_controller.rb'
|
|
- 'app/helpers/format_helper.rb'
|
|
|
|
# Offense count: 22
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: PreferredDelimiters.
|
|
Style/PercentLiteralDelimiters:
|
|
Enabled: false
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: short, verbose
|
|
Style/PreferredHashMethods:
|
|
Exclude:
|
|
- 'lib/tasks/migrate_config.rake'
|
|
|
|
# Offense count: 6
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: .
|
|
# SupportedStyles: compact, exploded
|
|
Style/RaiseArgs:
|
|
EnforcedStyle: compact
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/RandomWithOffset:
|
|
Exclude:
|
|
- 'spec/factories/sponsors.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/RedundantParentheses:
|
|
Exclude:
|
|
- 'app/controllers/admin/base_controller.rb'
|
|
|
|
# Offense count: 4
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
|
|
# SupportedStyles: slashes, percent_r, mixed
|
|
Style/RegexpLiteral:
|
|
Exclude:
|
|
- 'Guardfile'
|
|
- 'app/uploaders/picture_uploader.rb'
|
|
- 'config/initializers/airbrake.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: implicit, explicit
|
|
Style/RescueStandardError:
|
|
Exclude:
|
|
- 'app/controllers/users/omniauth_callbacks_controller.rb'
|
|
- 'lib/tasks/migrate_config.rake'
|
|
|
|
# Offense count: 3
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: only_raise, only_fail, semantic
|
|
Style/SignalException:
|
|
Exclude:
|
|
- 'lib/tasks/user.rake'
|
|
- 'spec/support/flash.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AllowIfMethodIsEmpty.
|
|
Style/SingleLineMethods:
|
|
Exclude:
|
|
- 'Guardfile'
|
|
|
|
# Offense count: 611
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
|
# SupportedStyles: single_quotes, double_quotes
|
|
Style/StringLiterals:
|
|
Exclude:
|
|
- 'Gemfile'
|
|
- 'bin/rspec'
|
|
- 'bin/spring'
|
|
- 'config/deploy.rb'
|
|
- 'config/environments/production.rb'
|
|
- 'config/puma.rb'
|
|
- 'lib/tasks/dump_db.rake'
|
|
- 'lib/tasks/events_registrations.rake'
|
|
- 'lib/tasks/factory_bot.rake'
|
|
- 'lib/tasks/user.rake'
|
|
|
|
# Offense count: 14
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle.
|
|
# SupportedStyles: single_quotes, double_quotes
|
|
Style/StringLiteralsInInterpolation:
|
|
Exclude:
|
|
- 'app/views/admin/events/_all_events.xlsx.axlsx'
|
|
- 'app/views/admin/events/_all_with_comments.xlsx.axlsx'
|
|
- 'app/views/admin/events/_confirmed_events.xlsx.axlsx'
|
|
- 'lib/tasks/dump_db.rake'
|
|
|
|
# Offense count: 110
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, MinSize.
|
|
# SupportedStyles: percent, brackets
|
|
Style/SymbolArray:
|
|
Enabled: false
|
|
|
|
# Offense count: 10
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: IgnoredMethods.
|
|
# IgnoredMethods: respond_to, define_method
|
|
Style/SymbolProc:
|
|
Exclude:
|
|
- 'app/controllers/admin/comments_controller.rb'
|
|
- 'app/controllers/admin/questions_controller.rb'
|
|
- 'app/models/ability.rb'
|
|
- 'app/models/admin_ability.rb'
|
|
- 'db/migrate/20140730104658_migrate_roles_for_cancancan.rb'
|
|
- 'spec/controllers/admin/conferences_controller_spec.rb'
|
|
- 'spec/support/flash.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
|
|
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
|
|
Style/TernaryParentheses:
|
|
Exclude:
|
|
- 'app/helpers/format_helper.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyleForMultiline.
|
|
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
|
Style/TrailingCommaInArrayLiteral:
|
|
Exclude:
|
|
- 'Guardfile'
|
|
|
|
# Offense count: 21
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: EnforcedStyleForMultiline.
|
|
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
|
Style/TrailingCommaInHashLiteral:
|
|
Exclude:
|
|
- 'db/migrate/20140701123203_add_events_per_week_to_conference.rb'
|
|
- 'spec/models/conference_spec.rb'
|
|
|
|
# Offense count: 1
|
|
# Cop supports --auto-correct.
|
|
Style/UnlessElse:
|
|
Exclude:
|
|
- 'config/routes.rb'
|
|
|
|
# Offense count: 2
|
|
# Cop supports --auto-correct.
|
|
Style/UnneededCondition:
|
|
Exclude:
|
|
- 'app/helpers/versions_helper.rb'
|
|
- 'app/models/ticket.rb'
|
|
|
|
# Offense count: 9
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: WordRegex.
|
|
# SupportedStyles: percent, brackets
|
|
Style/WordArray:
|
|
EnforcedStyle: percent
|
|
MinSize: 8
|
|
|
|
# Offense count: 2915
|
|
# Cop supports --auto-correct.
|
|
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
|
# URISchemes: http, https
|
|
Metrics/LineLength:
|
|
Max: 619
|