github-changelog-generator/.rubocop.yml

90 lines
1.7 KiB
YAML
Raw Permalink Normal View History

inherit_from: .rubocop_todo.yml
2015-03-26 17:09:01 +00:00
AllCops:
TargetRubyVersion: 2.2
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
2017-09-18 19:04:10 +00:00
Naming/FileName:
2015-09-30 19:52:13 +00:00
Exclude:
- 'bin/git-generate-changelog'
2016-02-23 15:18:36 +00:00
#TODOS
# Offense count: 14
Metrics/AbcSize:
Enabled: false
# Offense count: 1
2017-09-18 19:04:10 +00:00
Naming/AccessorMethodName:
2016-02-23 15:18:36 +00:00
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/**/*'
2017-09-18 19:04:10 +00:00
# Re-enable when merged; https://github.com/bbatsov/rubocop/pull/4756
Lint/InterpolationCheck:
Enabled: false
Style/FormatStringToken:
Exclude:
- lib/github_changelog_generator/parser.rb
Style/MixinUsage:
Exclude:
- lib/github_changelog_generator/task.rb