Skip to content

Commit aa7996f

Browse files
author
Filip Krahl
committed
update rubocop
Signed-off-by: Filip Krahl <filip.krahl@t-systems.com>
1 parent ccb2ece commit aa7996f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.rubocop.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ AllCops:
44
- vendor/**/*
55
Documentation:
66
Enabled: false
7-
ParameterAlignment:
7+
Layout/ParameterAlignment:
88
Enabled: true
99
HashSyntax:
1010
Enabled: true
1111
LineLength:
1212
Enabled: false
1313
EmptyLinesAroundBlockBody:
1414
Enabled: false
15-
Style/IfUnlessModifier:
15+
Style/Encoding:
1616
Enabled: false
1717
MethodLength:
1818
Max: 40
1919
NumericLiterals:
2020
MinDigits: 10
2121
Metrics/BlockLength:
22-
Max: 42
22+
Max: 45 # needed for 6.1.1
2323
Metrics/CyclomaticComplexity:
2424
Max: 10
2525
Metrics/PerceivedComplexity:
@@ -30,3 +30,7 @@ Metrics/AbcSize:
3030
# https://github.com/rubocop-hq/rubocop/issues/4222
3131
Lint/AmbiguousBlockAssociation:
3232
Enabled: false
33+
Lint/AmbiguousRegexpLiteral:
34+
Enabled: false
35+
Style/NumericPredicate:
36+
Enabled: false

0 commit comments

Comments
 (0)