github-changelog-generator/.rubocop.yml

77 lines
1.5 KiB
YAML
Raw Normal View History

inherit_from: .rubocop_todo.yml
2015-03-26 17:09:01 +00:00
AllCops:
2016-09-22 17:16:00 +00:00
DisplayCopNames: true
DisplayStyleGuide: true
Exclude:
- 'vendor/**/*'
- 'gemfiles/**/*'
2015-03-26 17:09:01 +00:00
Metrics/LineLength:
Enabled: false
2015-03-27 01:04:18 +00:00
Performance/RegexpMatch:
Enabled: false
2015-03-27 01:04:18 +00:00
#http://viget.com/extend/just-use-double-quoted-ruby-strings
Style/StringLiterals:
EnforcedStyle: double_quotes
# 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
Metrics/BlockLength:
Exclude:
- 'spec/**/*'