1Metrics/LineLength:
2 Max: 80
3
4Layout/Tab:
5 Enabled: false
6
7Layout/IndentationWidth:
8 Width: 1 # one tab
9
10Lint/EndAlignment:
11 EnforcedStyleAlignWith: variable
12
13Lint/RescueException:
14 Enabled: false
15
16Metrics/AbcSize:
17 Max: 190
18
19Metrics/BlockLength:
20 Max: 200
21
22Metrics/BlockNesting:
23 Max: 5
24
25Metrics/ClassLength:
26 Max: 200
27
28Metrics/CyclomaticComplexity:
29 Max: 30
30
31Metrics/MethodLength:
32 Max: 200
33
34Metrics/ModuleLength:
35 Max: 1000
36
37Metrics/ParameterLists:
38 Max: 8
39
40Metrics/PerceivedComplexity:
41 Max: 30
42
43Style/AndOr:
44 Enabled: false
45
46Layout/AlignParameters:
47 Enabled: false
48
49Style/BlockDelimiters:
50 Enabled: false
51
52Layout/CaseIndentation:
53 EnforcedStyle: end
54
55Style/Documentation:
56 Enabled: false
57
58Style/FormatString:
59 EnforcedStyle: percent
60
61# Offense count: 1
62Style/IfInsideElse:
63 Exclude:
64 - 'sgx-bwmsgsv2.rb'
65
66Layout/LeadingCommentSpace:
67 Enabled: false
68
69Layout/MultilineMethodCallBraceLayout:
70 Enabled: false
71
72Layout/MultilineOperationIndentation:
73 Enabled: false
74
75Style/MultilineTernaryOperator:
76 Enabled: false
77
78Style/Next:
79 Enabled: false
80
81Style/Not:
82 Enabled: false
83
84Style/NumericLiterals:
85 MinDigits: 20
86 Strict: true
87
88Style/NumericPredicate:
89 Enabled: false
90
91Layout/SpaceAroundOperators:
92 Enabled: false
93
94Layout/SpaceInsideHashLiteralBraces:
95 EnforcedStyle: no_space
96
97Style/StringLiterals:
98 EnforcedStyle: double_quotes
99 Enabled: false
100
101Style/NegatedIf:
102 Enabled: false
103
104Style/RedundantReturn:
105 Enabled: false
106
107Style/MultilineBlockChain:
108 Enabled: false
109
110Layout/SpaceAroundEqualsInParameterDefault:
111 EnforcedStyle: no_space
112
113Layout/IndentArray:
114 EnforcedStyle: consistent
115
116Style/SymbolArray:
117 EnforcedStyle: brackets
118
119Layout/FirstParameterIndentation:
120 EnforcedStyle: consistent
121
122Style/Lambda:
123 EnforcedStyle: lambda
124
125Layout/AccessModifierIndentation:
126 EnforcedStyle: outdent
127
128Style/FormatStringToken:
129 Enabled: false
130
131Style/WordArray:
132 EnforcedStyle: brackets