.rubocop.yml
inherit_from: .rubocop_todo.yml
require:
- rubocop-md
- rubocop-minitest
- rubocop-performance
- rubocop-rake
AllCops:
TargetRubyVersion: 2.6
DisplayCopNames: true
DisplayStyleGuide: true
NewCops: enable
Include:
- 'Gemfile'
- 'Rakefile'
Exclude:
- 'tmp/**/*'
Layout/ParameterAlignment:
EnforcedStyle: with_fixed_indentation
IndentationWidth: 4
Layout/FirstParameterIndentation:
IndentationWidth: 4
Layout/FirstArrayElementIndentation:
IndentationWidth: 4
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_braces
Layout/FirstHashElementIndentation:
IndentationWidth: 4
Layout/AssignmentIndentation:
IndentationWidth: 4
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
IndentationWidth: 4
Layout/MultilineOperationIndentation:
EnforcedStyle: indented
IndentationWidth: 4
Naming/VariableNumber:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/DoubleNegation:
Enabled: false
Style/Encoding:
Enabled: true
Style/FormatString:
EnforcedStyle: percent
Style/Lambda:
EnforcedStyle: literal
Style/NumericPredicate:
Enabled: false
Style/PerlBackrefs:
Enabled: false
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma