.rubocop_todo.yml
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-01-09 21:39:55 -0200 using RuboCop version 0.35.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: 5
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Exclude:
- 'app/controllers/hello/sessions_controller.rb'
- 'lib/hello/manager/stateless_request_manager.rb'
# Offense count: 1
Lint/Debugger:
Exclude:
- 'spec/support/helpers/shortcuts.rb'
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: AlignWith, SupportedStyles, AutoCorrect.
Lint/DefEndAlignment:
Enabled: false
# Offense count: 1
Lint/DuplicatedKey:
Exclude:
- 'spec/controllers/localization_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AlignWith, SupportedStyles, AutoCorrect.
Lint/EndAlignment:
Enabled: false
# Offense count: 3
Lint/FormatParameterMismatch:
Exclude:
- 'spec/support/feature_injection.rb'
# Offense count: 1
Lint/HandleExceptions:
Exclude:
- 'lib/generators/hello/install/install_generator.rb'
# Offense count: 3
Lint/ParenthesesAsGroupedExpression:
Exclude:
- 'lib/generators/hello/install/install_generator.rb'
# Offense count: 1
Lint/UselessAccessModifier:
Exclude:
- 'lib/generators/hello/views/views_generator.rb'
# Offense count: 10
Lint/UselessAssignment:
Exclude:
- 'app/controllers/hello/confirm_emails_controller.rb'
- 'app/lib/hello/extensions/reset_password.rb'
- 'lib/generators/hello/from_devise/templates/from_devise.migration.rb'
- 'lib/generators/hello/install/install_generator.rb'
- 'lib/generators/hello/install/templates/models/user.rb'
- 'lib/hello/device_name.rb'
- 'lib/hello/manager/middleware.rb'
- 'spec/dummy/app/models/user.rb'
- 'spec/support/helpers/given.rb'
# Offense count: 18
Metrics/AbcSize:
Max: 68
# Offense count: 2
Metrics/CyclomaticComplexity:
Max: 7
# Offense count: 47
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 334
# Offense count: 11
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 58
# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 233
# Offense count: 1
Style/AccessorMethodName:
Exclude:
- 'lib/hello/railsy/controller/locale_concern.rb'
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/AndOr:
Exclude:
- 'app/entities/hello/confirm_email_entity.rb'
- 'app/entities/hello/forgot_password_entity.rb'
- 'lib/hello/railsy/model/access/core.rb'
# Offense count: 4
Style/AsciiComments:
Exclude:
- 'spec/bdd/hello/internalionalization/anyone_can_change_their_locale/change_locale_on_the_sign_in_form_spec.rb'
- 'spec/bdd/hello/internalionalization/anyone_can_change_their_locale/change_locale_on_the_sign_up_form_spec.rb'
- 'spec/bdd/hello/internalionalization/anyone_can_change_their_timezone/change_timezone_on_the_sign_in_form_spec.rb'
- 'spec/bdd/hello/internalionalization/anyone_can_change_their_timezone/change_timezone_on_the_sign_up_form_spec.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/BracesAroundHashParameters:
Exclude:
- 'lib/generators/hello/install/install_generator.rb'
- 'lib/hello/railsy/model/access/core.rb'
# Offense count: 1
Style/CaseEquality:
Exclude:
- 'spec/support/helpers/when.rb'
# Offense count: 8
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/ClassAndModuleChildren:
Exclude:
- 'app/controllers/hello/application_controller.rb'
- 'lib/generators/hello/extensions/extensions_generator.rb'
- 'lib/generators/hello/from_devise/from_devise_generator.rb'
- 'lib/generators/hello/install/install_generator.rb'
- 'lib/generators/hello/views/views_generator.rb'
- 'spec/support/features/feature_support_given.rb'
- 'spec/support/features/feature_support_then.rb'
- 'spec/support/requests/request_support.rb'
# Offense count: 1
Style/ClassVars:
Exclude:
- 'lib/hello/railsy/model/access/core.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: Keywords.
Style/CommentAnnotation:
Exclude:
- 'lib/hello/manager/stateful_request_manager/finder.rb'
# Offense count: 7
Style/DoubleNegation:
Exclude:
- 'app/entities/hello/confirm_email_entity.rb'
- 'app/entities/hello/sign_in_entity.rb'
- 'lib/hello/manager/request_manager.rb'
- 'lib/hello/railsy/model/credential/core.rb'
- 'lib/hello/railsy/model/email_credential.rb'
# Offense count: 5
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'app/entities/hello/forgot_password_entity.rb'
- 'app/entities/hello/sudo_mode_authentication_entity.rb'
- 'lib/hello/manager/stateful_request_manager.rb'
- 'lib/hello/manager/stateful_request_manager/finder.rb'
- 'spec/support/helpers/when.rb'
# Offense count: 47
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/MethodName:
Enabled: false
# Offense count: 6
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
Style/PredicateName:
Exclude:
- 'lib/hello/manager/request_manager.rb'
- 'lib/hello/manager/request_manager_factory.rb'
- 'lib/hello/railsy/model/email_credential.rb'
# Offense count: 3
# Configuration parameters: SupportedStyles.
Style/RaiseArgs:
EnforcedStyle: compact
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
Style/RegexpLiteral:
Exclude:
- 'spec/bdd/hello/account_management/manage_password/manage_password_forgot_password_spec.rb'