-
Notifications
You must be signed in to change notification settings - Fork 3
/
.rubocop.yml
76 lines (52 loc) · 1.04 KB
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
AllCops:
TargetRubyVersion: 3.3
NewCops: enable
require:
- rubocop-rspec
Layout/LineLength:
Max: 159
# not my style ;-)
Layout/SpaceAroundEqualsInParameterDefault:
Enabled: False
# exclude Gemfile, because it is auto-generated
Layout/SpaceInsideBlockBraces:
Exclude:
- 'Gemfile'
Metrics/AbcSize:
Max: 73
Metrics/BlockLength:
Max: 65
Metrics/BlockNesting:
Max: 5
Metrics/ClassLength:
Max: 300
Metrics/CyclomaticComplexity:
Max: 25
Metrics/MethodLength:
Max: 71
Metrics/PerceivedComplexity:
Max: 25
RSpec/MultipleDescribes:
Exclude:
- 'spec/lib/deb_erratum_rss_spec.rb'
Style/BlockComments:
Exclude:
- 'spec/spec_helper.rb'
Style/ClassVars:
Exclude:
- 'debRelease.rb'
Style/HashSyntax:
EnforcedShorthandSyntax: 'never'
Style/OptionalBooleanParameter:
Enabled: False
Style/MixinUsage:
Enabled: False
Style/MutableConstant:
EnforcedStyle: strict
Style/StringLiterals:
Exclude:
- 'Gemfile'
Style/TrailingCommaInHashLiteral:
Enabled: True
Style/WordArray:
EnforcedStyle: brackets