2020-12-25 18:16:27 +01:00
|
|
|
require:
|
|
|
|
- rubocop-rake
|
2020-12-25 18:17:01 +01:00
|
|
|
- rubocop-rspec
|
2020-12-25 18:16:27 +01:00
|
|
|
|
2020-03-02 01:57:58 +01:00
|
|
|
AllCops:
|
2024-03-03 11:28:40 +01:00
|
|
|
TargetRubyVersion: 3.0'
|
2020-07-14 19:57:25 +02:00
|
|
|
NewCops: enable
|
2020-03-02 01:57:58 +01:00
|
|
|
|
2023-01-24 13:18:44 +01:00
|
|
|
Gemspec/DevelopmentDependencies:
|
|
|
|
EnforcedStyle: gemspec
|
|
|
|
|
2021-11-16 10:48:56 +01:00
|
|
|
Gemspec/RequireMFA:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-03-02 01:57:58 +01:00
|
|
|
Layout/EmptyLineAfterGuardClause:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
# allows nicer usage of private_class_method
|
|
|
|
Layout/EmptyLinesAroundArguments:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Layout/HashAlignment:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Layout/LeadingEmptyLines:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Layout/LineLength:
|
|
|
|
Max: 200
|
|
|
|
|
|
|
|
Layout/SpaceInsideHashLiteralBraces:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/AbcSize:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/BlockLength:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/ClassLength:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/CyclomaticComplexity:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/MethodLength:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Metrics/PerceivedComplexity:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Naming/MethodParameterName:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Naming/MemoizedInstanceVariableName:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-07-14 20:06:06 +02:00
|
|
|
Style/AccessorGrouping:
|
|
|
|
Enabled: false
|
|
|
|
|
2020-03-02 01:57:58 +01:00
|
|
|
Style/ConditionalAssignment:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/Documentation:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/FormatStringToken:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/GuardClause:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/HashEachMethods:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Style/HashTransformKeys:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Style/HashTransformValues:
|
|
|
|
Enabled: true
|
|
|
|
|
|
|
|
Style/IdenticalConditionalBranches:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/InverseMethods:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/NegatedIf:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/RescueModifier:
|
|
|
|
Enabled: false
|
|
|
|
|
|
|
|
Style/Semicolon:
|
|
|
|
AllowAsExpressionSeparator: true
|
|
|
|
|
|
|
|
Style/SymbolArray:
|
|
|
|
Enabled: false
|
2020-12-25 18:17:01 +01:00
|
|
|
|
|
|
|
RSpec/ExampleLength:
|
|
|
|
Max: 10
|
|
|
|
|
2024-06-17 10:23:10 +02:00
|
|
|
#RSpec/FilePath:
|
|
|
|
# Enabled: false
|
2023-09-28 12:14:32 +02:00
|
|
|
|
2023-09-09 15:46:40 +02:00
|
|
|
RSpec/SpecFilePathFormat:
|
2020-12-25 18:17:01 +01:00
|
|
|
CustomTransform:
|
|
|
|
OpenVPNStatusWeb: openvpn-status-web
|
|
|
|
|
|
|
|
RSpec/MultipleExpectations:
|
|
|
|
Max: 5
|