64 lines
911 B
YAML
64 lines
911 B
YAML
|
require: rubocop-rspec
|
||
|
|
||
|
inherit_from: .rubocop_todo.yml
|
||
|
|
||
|
AllCops:
|
||
|
Exclude:
|
||
|
- generators/rating/templates/**/*
|
||
|
|
||
|
Rails:
|
||
|
Enabled: true
|
||
|
|
||
|
Lint/Debugger:
|
||
|
Enabled: false
|
||
|
|
||
|
Metrics/AbcSize:
|
||
|
Enabled: false
|
||
|
|
||
|
Metrics/ClassLength:
|
||
|
Enabled: false
|
||
|
|
||
|
Metrics/CyclomaticComplexity:
|
||
|
Enabled: false
|
||
|
|
||
|
Metrics/LineLength:
|
||
|
Enabled: false
|
||
|
|
||
|
Metrics/MethodLength:
|
||
|
Enabled: false
|
||
|
|
||
|
Metrics/PerceivedComplexity:
|
||
|
Enabled: false
|
||
|
|
||
|
Rails/HasAndBelongsToMany:
|
||
|
Enabled: false
|
||
|
|
||
|
Rails/HttpPositionalArguments:
|
||
|
Enabled: false
|
||
|
|
||
|
Style/IfUnlessModifier:
|
||
|
MaxLineLength: 0
|
||
|
|
||
|
Style/PercentLiteralDelimiters:
|
||
|
PreferredDelimiters:
|
||
|
'%i': '[]'
|
||
|
'%I': '[]'
|
||
|
'%r': ()
|
||
|
'%w': '[]'
|
||
|
'%W': '[]'
|
||
|
|
||
|
Style/AlignParameters:
|
||
|
EnforcedStyle: with_fixed_indentation
|
||
|
|
||
|
Style/Documentation:
|
||
|
Enabled: false
|
||
|
|
||
|
Style/Encoding:
|
||
|
Enabled: false
|
||
|
|
||
|
Style/SpaceBeforeComma:
|
||
|
Enabled: false
|
||
|
|
||
|
Style/SpaceBeforeFirstArg:
|
||
|
Enabled: false
|