76 lines
1.1 KiB
YAML
76 lines
1.1 KiB
YAML
require:
|
|
- rubocop-performance
|
|
- rubocop-rspec
|
|
|
|
inherit_from: .rubocop_todo.yml
|
|
|
|
Layout/AlignArguments:
|
|
EnforcedStyle: with_fixed_indentation
|
|
|
|
Layout/AlignHash:
|
|
EnforcedColonStyle: table
|
|
Enabled: false
|
|
|
|
Layout/AlignParameters:
|
|
EnforcedStyle: with_fixed_indentation
|
|
|
|
Layout/EmptyLinesAroundArguments:
|
|
Enabled: false
|
|
|
|
Layout/MultilineMethodCallBraceLayout:
|
|
EnforcedStyle: new_line
|
|
|
|
Metrics/AbcSize:
|
|
Max: 50
|
|
|
|
Metrics/BlockLength:
|
|
Enabled: false
|
|
|
|
Metrics/LineLength:
|
|
Max: 120
|
|
|
|
Metrics/MethodLength:
|
|
Max: 50
|
|
|
|
Naming/VariableNumber:
|
|
EnforcedStyle: snake_case
|
|
|
|
Rails:
|
|
Enabled: true
|
|
|
|
RSpec/AnyInstance:
|
|
Enabled: false
|
|
|
|
RSpec/ExampleLength:
|
|
Enabled: false
|
|
|
|
RSpec/FilePath:
|
|
Enabled: false
|
|
|
|
RSpec/MultipleExpectations:
|
|
Enabled: false
|
|
|
|
RSpec/NestedGroups:
|
|
Max: 5
|
|
|
|
Style/Documentation:
|
|
Enabled: false
|
|
|
|
Style/PercentLiteralDelimiters:
|
|
PreferredDelimiters:
|
|
'%': '()'
|
|
'%i': '[]'
|
|
'%I': '[]'
|
|
'%r': '()'
|
|
'%w': '[]'
|
|
'%W': '[]'
|
|
|
|
Style/PerlBackrefs:
|
|
Enabled: false
|
|
|
|
Style/TrailingCommaInArrayLiteral:
|
|
EnforcedStyleForMultiline: comma
|
|
|
|
Style/TrailingCommaInHashLiteral:
|
|
EnforcedStyleForMultiline: comma
|