2015-03-26 20:37:23 +00:00
|
|
|
inherit_from: .rubocop_todo.yml
|
2015-03-26 17:09:01 +00:00
|
|
|
|
2016-09-22 17:04:35 +00:00
|
|
|
AllCops:
|
2016-09-22 17:16:00 +00:00
|
|
|
DisplayCopNames: true
|
|
|
|
DisplayStyleGuide: true
|
2016-09-22 17:04:35 +00:00
|
|
|
Exclude:
|
|
|
|
- 'vendor/**/*'
|
|
|
|
- 'gemfiles/**/*'
|
|
|
|
|
2015-03-26 17:09:01 +00:00
|
|
|
Metrics/LineLength:
|
|
|
|
Enabled: false
|
2015-03-27 01:04:18 +00:00
|
|
|
|
|
|
|
#http://viget.com/extend/just-use-double-quoted-ruby-strings
|
2015-04-02 09:05:26 +00:00
|
|
|
Style/StringLiterals:
|
|
|
|
EnforcedStyle: double_quotes
|
2015-05-26 13:01:23 +00:00
|
|
|
|
|
|
|
# Configuration parameters: CountComments.
|
|
|
|
Metrics/ClassLength:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Configuration parameters: CountComments.
|
|
|
|
Metrics/MethodLength:
|
|
|
|
Enabled: false
|
2015-09-30 19:52:13 +00:00
|
|
|
|
|
|
|
Style/FileName:
|
|
|
|
Exclude:
|
|
|
|
- 'bin/git-generate-changelog'
|
2016-02-23 15:18:36 +00:00
|
|
|
|
|
|
|
#TODOS
|
|
|
|
# Offense count: 14
|
|
|
|
Metrics/AbcSize:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 1
|
|
|
|
Style/AccessorMethodName:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 10
|
|
|
|
Style/Documentation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 1
|
|
|
|
# Configuration parameters: MinBodyLength.
|
|
|
|
Style/GuardClause:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 2
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
|
|
|
|
# SupportedStyles: skip_modifier_ifs, always
|
|
|
|
Style/Next:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# Offense count: 3
|
|
|
|
# Cop supports --auto-correct.
|
|
|
|
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
|
|
|
|
# SupportedStyles: slashes, percent_r, mixed
|
|
|
|
Style/RegexpLiteral:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/MutableConstant:
|
|
|
|
Enabled: false
|
2016-09-22 17:16:00 +00:00
|
|
|
|
|
|
|
# "Use idx.positive? instead of idx > 0."
|
|
|
|
Style/NumericPredicate:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/SafeNavigation:
|
|
|
|
Enabled: false
|