Skip to content

Commit d0fd4f6

Browse files
committed
[devtools] sync
1 parent 967337e commit d0fd4f6

File tree

1 file changed

+29
-8
lines changed

1 file changed

+29
-8
lines changed

.rubocop.yml

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,42 @@ AllCops:
88
- Gemfile.devtools
99
- "*.gemspec"
1010

11+
Layout/SpaceAroundMethodCallOperator:
12+
Enabled: false
13+
1114
Layout/SpaceInLambdaLiteral:
1215
Enabled: false
1316

1417
Layout/MultilineMethodCallIndentation:
1518
Enabled: true
1619
EnforcedStyle: indented
1720

18-
Layout/IndentFirstArrayElement:
21+
Layout/FirstArrayElementIndentation:
1922
EnforcedStyle: consistent
2023

2124
Layout/SpaceInsideHashLiteralBraces:
2225
Enabled: true
2326
EnforcedStyle: no_space
2427
EnforcedStyleForEmptyBraces: no_space
2528

26-
Lint/HandleExceptions:
29+
Layout/LineLength:
30+
Max: 100
2731
Exclude:
28-
- "spec/spec_helper.rb"
32+
- "spec/**/*_spec.rb"
2933

3034
Lint/BooleanSymbol:
3135
Enabled: false
3236

37+
Lint/RaiseException:
38+
Enabled: false
39+
40+
Lint/StructNewOverride:
41+
Enabled: false
42+
43+
Lint/SuppressedException:
44+
Exclude:
45+
- "spec/spec_helper.rb"
46+
3347
Naming/PredicateName:
3448
Enabled: false
3549

@@ -43,11 +57,6 @@ Naming/MethodName:
4357
Naming/MemoizedInstanceVariableName:
4458
Enabled: false
4559

46-
Metrics/LineLength:
47-
Max: 100
48-
Exclude:
49-
- "spec/**/*_spec.rb"
50-
5160
Metrics/MethodLength:
5261
Enabled: false
5362

@@ -64,6 +73,18 @@ Metrics/CyclomaticComplexity:
6473
Enabled: true
6574
Max: 12
6675

76+
Style/ExponentialNotation:
77+
Enabled: false
78+
79+
Style/HashEachMethods:
80+
Enabled: false
81+
82+
Style/HashTransformKeys:
83+
Enabled: false
84+
85+
Style/HashTransformValues:
86+
Enabled: false
87+
6788
Style/AccessModifierDeclarations:
6889
Enabled: false
6990

0 commit comments

Comments
 (0)