dyndnsd/.rubocop.yml

102 lines
1.4 KiB
YAML
Raw Normal View History

require:
- rubocop-rake
- rubocop-rspec
2018-02-23 11:13:28 +01:00
AllCops:
2022-05-08 16:32:13 +02:00
TargetRubyVersion: '2.7'
NewCops: enable
2018-02-23 11:13:28 +01:00
2021-11-16 10:48:57 +01:00
Gemspec/RequireMFA:
Enabled: false
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
Layout/HashAlignment:
Enabled: false
Layout/LeadingEmptyLines:
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
Metrics/CyclomaticComplexity:
Enabled: false
2018-02-23 12:54:43 +01:00
Metrics/MethodLength:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Naming/MethodParameterName:
2018-03-26 20:56:53 +02:00
Enabled: false
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
Style/IfUnlessModifier:
Enabled: false
2018-02-23 12:54:43 +01:00
Style/InverseMethods:
Enabled: false
Style/NegatedIf:
Enabled: false
Style/RescueModifier:
Enabled: false
2018-02-23 12:54:43 +01:00
Style/SymbolArray:
Enabled: false
Style/TrailingCommaInArrayLiteral:
Enabled: false
RSpec/ExampleLength:
Max: 20
RSpec/MultipleExpectations:
Max: 20