2020-12-25 18:04:59 +01:00
|
|
|
require:
|
|
|
|
- rubocop-rake
|
2020-12-25 18:05:41 +01:00
|
|
|
- rubocop-rspec
|
2020-12-25 18:04:59 +01:00
|
|
|
|
2018-02-23 11:13:28 +01:00
|
|
|
AllCops:
|
2020-07-28 17:42:48 +02:00
|
|
|
TargetRubyVersion: '2.5'
|
|
|
|
NewCops: enable
|
2018-02-23 11:13:28 +01:00
|
|
|
|
2018-09-09 21:39:24 +02:00
|
|
|
Layout/EmptyLineAfterGuardClause:
|
|
|
|
Enabled: false
|
2018-02-23 11:13:28 +01:00
|
|
|
|
2018-02-23 12:54:43 +01:00
|
|
|
# allows nicer usage of private_class_method
|
|
|
|
Layout/EmptyLinesAroundArguments:
|
|
|
|
Enabled: false
|
|
|
|
|
2019-11-29 09:21:46 +01:00
|
|
|
Layout/HashAlignment:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Layout/LeadingEmptyLines:
|
2018-06-06 09:00:50 +02:00
|
|
|
Enabled: false
|
|
|
|
|
2020-02-26 11:33:44 +01:00
|
|
|
Layout/LineLength:
|
|
|
|
Max: 200
|
|
|
|
|
2018-02-23 12:54:43 +01:00
|
|
|
Layout/SpaceInsideHashLiteralBraces:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/AbcSize:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/BlockLength:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/ClassLength:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-02-23 16:37:10 +01:00
|
|
|
Metrics/CyclomaticComplexity:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-02-23 12:54:43 +01:00
|
|
|
Metrics/MethodLength:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-02-23 16:37:10 +01:00
|
|
|
Metrics/PerceivedComplexity:
|
|
|
|
Enabled: false
|
|
|
|
|
2019-11-29 09:21:46 +01:00
|
|
|
Naming/MethodParameterName:
|
2018-03-26 20:56:53 +02:00
|
|
|
Enabled: false
|
|
|
|
|
2018-04-23 07:11:18 +02:00
|
|
|
Naming/MemoizedInstanceVariableName:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-02-23 12:54:43 +01:00
|
|
|
Style/ConditionalAssignment:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-02-23 11:13:28 +01:00
|
|
|
Style/Documentation:
|
|
|
|
Enabled: false
|
2018-02-23 12:54:43 +01:00
|
|
|
|
|
|
|
Style/FormatStringToken:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/GuardClause:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-02-26 11:33:44 +01:00
|
|
|
Style/HashEachMethods:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Style/HashTransformKeys:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Style/HashTransformValues:
|
|
|
|
Enabled: true
|
|
|
|
|
2018-02-23 12:54:43 +01:00
|
|
|
Style/IdenticalConditionalBranches:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-07-20 11:56:23 +02:00
|
|
|
Style/IfUnlessModifier:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-02-23 12:54:43 +01:00
|
|
|
Style/InverseMethods:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/NegatedIf:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-04-23 07:11:18 +02:00
|
|
|
Style/RescueModifier:
|
|
|
|
Enabled: false
|
|
|
|
|
2018-02-23 12:54:43 +01:00
|
|
|
Style/SymbolArray:
|
|
|
|
Enabled: false
|
2020-07-20 11:56:23 +02:00
|
|
|
|
|
|
|
Style/TrailingCommaInArrayLiteral:
|
|
|
|
Enabled: false
|
2020-12-25 18:05:41 +01:00
|
|
|
|
|
|
|
RSpec/ExampleLength:
|
|
|
|
Max: 20
|
|
|
|
|
|
|
|
RSpec/MultipleExpectations:
|
|
|
|
Max: 20
|