.rubocop_todo.yml
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-09-24 01:47:19 +0530 using RuboCop version 0.42.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 1
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Exclude:
- 'app/models/user.rb'
# Offense count: 14
Metrics/AbcSize:
Max: 50
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 150
# Offense count: 1
Metrics/CyclomaticComplexity:
Max: 20
# Offense count: 30
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 50
# Offense count: 3
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
Exclude:
- 'app/controllers/users/omniauth_callbacks_controller.rb'
- 'app/controllers/users/registrations_controller.rb'
- 'test/test_helper.rb'
# Offense count: 71
Style/Documentation:
Enabled: false
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
Style/ExtraSpacing:
Exclude:
- 'config.ru'
# Offense count: 1
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
Style/PredicateName:
Exclude:
- 'spec/**/*'
- 'app/models/user.rb'
# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
# IgnoredMethods: respond_to, define_method
Style/SymbolProc:
Exclude:
- 'db/migrate/20140524204950_create_flags.rb'
- 'db/migrate/20140531115618_create_sashes.rb'
- 'db/migrate/20140607115939_create_pages.rb'
- 'spec/factories/user.rb'