1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2024-11-14 16:56:14 +01:00
dyndnsd/.rubocop.yml

105 lines
1.5 KiB
YAML
Raw Normal View History

require:
- rubocop-rake
- rubocop-rspec
2018-02-23 11:13:28 +01:00
AllCops:
2023-06-08 09:47:40 +02:00
TargetRubyVersion: '3.0'
NewCops: enable
2018-02-23 11:13:28 +01:00
2023-01-24 13:18:42 +01:00
Gemspec/DevelopmentDependencies:
EnforcedStyle: gemspec
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