Skip to content

Commit 12c5ea7

Browse files
Update .rubocop.yml
Signed-off-by: Michée Lengronne <michee.lengronne@coppint.com>
1 parent 75c1079 commit 12c5ea7

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

.rubocop.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,36 @@
11
---
2+
AllCops:
3+
Exclude:
4+
- vendor/**/*
25
Documentation:
36
Enabled: false
4-
AlignParameters:
5-
Enabled: true
6-
Encoding:
7+
Layout/ParameterAlignment:
78
Enabled: true
89
HashSyntax:
910
Enabled: true
1011
LineLength:
1112
Enabled: false
1213
EmptyLinesAroundBlockBody:
1314
Enabled: false
15+
Style/Encoding:
16+
Enabled: false
1417
MethodLength:
1518
Max: 40
19+
NumericLiterals:
20+
MinDigits: 10
1621
Metrics/BlockLength:
17-
Max: 30
22+
Max: 45 # needed for 6.1.1
1823
Metrics/CyclomaticComplexity:
1924
Max: 10
2025
Metrics/PerceivedComplexity:
2126
Max: 10
2227
Metrics/AbcSize:
23-
Max: 29
24-
Style/MethodMissing:
25-
Exclude:
26-
- 'libraries/process_env_var.rb'
28+
Max: 30
29+
# Lint/AmbiguousBlockAssociation is incompatible with RSpec
30+
# https://github.com/rubocop-hq/rubocop/issues/4222
31+
Lint/AmbiguousBlockAssociation:
32+
Enabled: false
33+
Lint/AmbiguousRegexpLiteral:
34+
Enabled: false
35+
Style/NumericPredicate:
36+
Enabled: false

0 commit comments

Comments
 (0)