Skip to content

Commit 80b969c

Browse files
committed
Change TargetRubyVersion for rubocop and add inherit_mode to ignore incompatible TargetRubyVersion in rainbow rubocop
1 parent 15515ae commit 80b969c

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
@@ -1,8 +1,12 @@
11
AllCops:
2-
TargetRubyVersion: 2.5
2+
TargetRubyVersion: 2.6
33
Exclude:
44
- db/**
55

6+
inherit_mode:
7+
merge:
8+
- Exclude
9+
610
Layout/ParameterAlignment:
711
EnforcedStyle: with_fixed_indentation
812
Layout/BlockAlignment:
@@ -46,6 +50,8 @@ Layout/MultilineOperationIndentation:
4650
EnforcedStyle: indented
4751
Layout/SpaceBeforeBlockBraces:
4852
EnforcedStyle: no_space
53+
Layout/LineLength:
54+
Max: 120
4955

5056
Metrics/AbcSize:
5157
Enabled: false
@@ -56,8 +62,6 @@ Metrics/ClassLength:
5662
Max: 200
5763
Metrics/CyclomaticComplexity:
5864
Enabled: false
59-
Metrics/LineLength:
60-
Max: 120
6165
Metrics/MethodLength:
6266
Max: 40
6367
Metrics/ModuleLength:

0 commit comments

Comments
 (0)