@@ -68,6 +68,9 @@ Lint/ConstantDefinitionInBlock:
68
68
Exclude :
69
69
- " spec/**/*_spec.rb"
70
70
71
+ Lint/DeprecatedConstants :
72
+ Enabled : true
73
+
71
74
Lint/DeprecatedOpenSSLConstant :
72
75
Description : Don't use algorithm constants for `OpenSSL::Cipher` and `OpenSSL::Digest`.
73
76
Enabled : true
@@ -96,6 +99,9 @@ Lint/EmptyConditionalBody:
96
99
Lint/FloatComparison :
97
100
Enabled : true
98
101
102
+ Lint/LambdaWithoutLiteralBlock :
103
+ Enabled : true
104
+
99
105
Lint/MissingSuper :
100
106
Enabled : true
101
107
@@ -106,26 +112,41 @@ Lint/MixedRegexpCaptureTypes:
106
112
Lint/NoReturnInBeginEndBlocks :
107
113
Enabled : true
108
114
115
+ Lint/NumberedParameterAssignment :
116
+ Enabled : true
117
+
118
+ Lint/OrAssignmentToConstant :
119
+ Enabled : true
120
+
109
121
Lint/OutOfRangeRegexpRef :
110
122
Enabled : true
111
123
112
124
Lint/RaiseException :
113
125
Description : Checks for `raise` or `fail` statements which are raising `Exception` class.
114
126
Enabled : true
115
127
128
+ Lint/RedundantDirGlobSort :
129
+ Enabled : true
130
+
116
131
Lint/SelfAssignment :
117
132
Enabled : true
118
133
119
134
Lint/StructNewOverride :
120
135
Description : Disallow overriding the `Struct` built-in methods via `Struct.new`.
121
136
Enabled : true
122
137
138
+ Lint/SymbolConversion :
139
+ Enabled : true
140
+
123
141
Lint/ToEnumArguments :
124
142
Enabled : true
125
143
126
144
Lint/TopLevelReturnWithArgument :
127
145
Enabled : true
128
146
147
+ Lint/TripleQuotes :
148
+ Enabled : true
149
+
129
150
Lint/UnexpectedBlockArity :
130
151
Enabled : true
131
152
@@ -212,6 +233,9 @@ Style/DoubleNegation:
212
233
Style/DocumentDynamicEvalDefinition :
213
234
Enabled : true
214
235
236
+ Style/EndlessMethod :
237
+ Enabled : true
238
+
215
239
Style/ExplicitBlockArgument :
216
240
# capturing as a proc has a performance hit, so is a case by case choice
217
241
Enabled : false
@@ -261,6 +285,9 @@ Style/HashSyntax:
261
285
Description : Checks hash literal syntax.
262
286
EnforcedStyle : ruby19
263
287
288
+ Style/IfWithBooleanLiteralBranches :
289
+ Enabled : true
290
+
264
291
Style/NegatedIfElseCondition :
265
292
Enabled : true
266
293
0 commit comments