talkable-style 1.2022.0131 → 1.2022.0701

Sign up to get free protection for your applications and to get access to all the features.
data/config/rails.yml ADDED
@@ -0,0 +1,206 @@
1
+ require: rubocop-rails
2
+
3
+ Rails/ActionControllerTestCase:
4
+ Enabled: true
5
+ Rails/ActionFilter:
6
+ Enabled: true
7
+ Rails/ActiveRecordAliases:
8
+ Enabled: true
9
+ Rails/ActiveRecordCallbacksOrder:
10
+ Enabled: true
11
+ Rails/ActiveRecordOverride:
12
+ Enabled: true
13
+ Rails/ActiveSupportAliases:
14
+ Enabled: true
15
+ Rails/AddColumnIndex:
16
+ Enabled: true
17
+ Rails/AfterCommitOverride:
18
+ Enabled: true
19
+ Rails/ApplicationController:
20
+ Enabled: true
21
+ Rails/ApplicationJob:
22
+ Enabled: true
23
+ Rails/ApplicationMailer:
24
+ Enabled: true
25
+ Rails/ApplicationRecord:
26
+ Enabled: true
27
+ Rails/ArelStar:
28
+ Enabled: true
29
+ Rails/AttributeDefaultBlockValue:
30
+ Enabled: true
31
+ Rails/BelongsTo:
32
+ Enabled: true
33
+ Rails/Blank:
34
+ Enabled: true
35
+ NilOrEmpty: false
36
+ NotPresent: true
37
+ UnlessPresent: true
38
+ Rails/BulkChangeTable:
39
+ Enabled: true
40
+ Rails/CreateTableWithTimestamps:
41
+ Enabled: true
42
+ Rails/Date:
43
+ Enabled: true
44
+ Rails/DelegateAllowBlank:
45
+ Enabled: true
46
+ Rails/DeprecatedActiveModelErrorsMethods:
47
+ Enabled: true
48
+ Rails/DotSeparatedKeys:
49
+ Enabled: true
50
+ Rails/DuplicateAssociation:
51
+ Enabled: true
52
+ Rails/DuplicateScope:
53
+ Enabled: true
54
+ Rails/DurationArithmetic:
55
+ Enabled: true
56
+ Rails/DynamicFindBy:
57
+ Enabled: true
58
+ Rails/EnumHash:
59
+ Enabled: true
60
+ Rails/EnumUniqueness:
61
+ Enabled: true
62
+ Rails/EnvironmentComparison:
63
+ Enabled: true
64
+ Rails/Exit:
65
+ Enabled: true
66
+ Rails/ExpandedDateRange:
67
+ Enabled: true
68
+ Rails/FindBy:
69
+ Enabled: true
70
+ Rails/FindById:
71
+ Enabled: true
72
+ Rails/FindEach:
73
+ Enabled: true
74
+ Rails/HasAndBelongsToMany:
75
+ Enabled: true
76
+ Rails/HelperInstanceVariable:
77
+ Enabled: true
78
+ Rails/HttpPositionalArguments:
79
+ Enabled: true
80
+ Rails/HttpStatus:
81
+ Enabled: true
82
+ Rails/IgnoredSkipActionFilterOption:
83
+ Enabled: true
84
+ Rails/IndexBy:
85
+ Enabled: true
86
+ Rails/IndexWith:
87
+ Enabled: true
88
+ Rails/InverseOf:
89
+ Enabled: true
90
+ Rails/LexicallyScopedActionFilter:
91
+ Enabled: true
92
+ Rails/LinkToBlank:
93
+ Enabled: true
94
+ Rails/MailerName:
95
+ Enabled: true
96
+ Rails/MatchRoute:
97
+ Enabled: true
98
+ Rails/MigrationClassName:
99
+ Enabled: true
100
+ Rails/NegateInclude:
101
+ Enabled: true
102
+ Rails/NotNullColumn:
103
+ Enabled: true
104
+ Rails/OrderById:
105
+ Enabled: true
106
+ Rails/PluckId:
107
+ Enabled: true
108
+ Rails/PluckInWhere:
109
+ Enabled: true
110
+ Rails/PluralizationGrammar:
111
+ Enabled: true
112
+ Rails/Presence:
113
+ Enabled: true
114
+ Rails/Present:
115
+ Enabled: true
116
+ NotNilAndNotEmpty: false
117
+ NotBlank: true
118
+ UnlessBlank: true
119
+ Rails/RakeEnvironment:
120
+ Enabled: true
121
+ Rails/ReadWriteAttribute:
122
+ Enabled: true
123
+ Rails/RedundantAllowNil:
124
+ Enabled: true
125
+ Rails/RedundantPresenceValidationOnBelongsTo:
126
+ Enabled: true
127
+ Rails/RedundantReceiverInWithOptions:
128
+ Enabled: true
129
+ Rails/RedundantTravelBack:
130
+ Enabled: true
131
+ Rails/ReflectionClassName:
132
+ Enabled: true
133
+ Rails/RelativeDateConstant:
134
+ Enabled: true
135
+ Rails/RenderInline:
136
+ Enabled: true
137
+ Rails/RenderPlainText:
138
+ Enabled: true
139
+ Rails/RequestReferer:
140
+ Enabled: true
141
+ Rails/RequireDependency:
142
+ Enabled: true
143
+ Rails/ReversibleMigration:
144
+ Enabled: true
145
+ Include:
146
+ - db/migrate/*.rb
147
+ - db/sharded_migrate/*.rb
148
+ Rails/ReversibleMigrationMethodDefinition:
149
+ Enabled: true
150
+ Include:
151
+ - db/migrate/*.rb
152
+ - db/sharded_migrate/*.rb
153
+ Rails/RootJoinChain:
154
+ Enabled: true
155
+ Rails/RootPublicPath:
156
+ Enabled: true
157
+ Rails/SafeNavigation:
158
+ Enabled: true
159
+ Rails/SafeNavigationWithBlank:
160
+ Enabled: true
161
+ Rails/SaveBang:
162
+ Enabled: true
163
+ Exclude:
164
+ - spec/**/*
165
+ Rails/ScopeArgs:
166
+ Enabled: true
167
+ Rails/ShortI18n:
168
+ Enabled: true
169
+ Rails/SkipsModelValidations:
170
+ Enabled: true
171
+ Exclude:
172
+ - db/**/*
173
+ - spec/**/*
174
+ Rails/StripHeredoc:
175
+ Enabled: true
176
+ Rails/SquishedSQLHeredocs:
177
+ Enabled: true
178
+ Rails/TimeZone:
179
+ Enabled: true
180
+ Rails/TimeZoneAssignment:
181
+ Enabled: true
182
+ Rails/ToFormattedS:
183
+ Enabled: true
184
+ Rails/TransactionExitStatement:
185
+ Enabled: true
186
+ Rails/UniqBeforePluck:
187
+ Enabled: true
188
+ Rails/UniqueValidationWithoutIndex:
189
+ Enabled: true
190
+ Rails/UnknownEnv:
191
+ Enabled: true
192
+ Environments:
193
+ - development
194
+ - production
195
+ - staging
196
+ - test
197
+ Rails/UnusedIgnoredColumns:
198
+ Enabled: true
199
+ Rails/Validation:
200
+ Enabled: true
201
+ Rails/WhereEquals:
202
+ Enabled: true
203
+ Rails/WhereExists:
204
+ Enabled: true
205
+ Rails/WhereNot:
206
+ Enabled: true
data/config/rake.yml ADDED
@@ -0,0 +1,12 @@
1
+ require: rubocop-rake
2
+
3
+ Rake/ClassDefinitionInTask:
4
+ Enabled: true
5
+ Rake/Desc:
6
+ Enabled: true
7
+ Rake/DuplicateNamespace:
8
+ Enabled: true
9
+ Rake/DuplicateTask:
10
+ Enabled: true
11
+ Rake/MethodDefinitionInTask:
12
+ Enabled: true
data/config/rspec.yml ADDED
@@ -0,0 +1,144 @@
1
+ require: rubocop-rspec
2
+
3
+ RSpec:
4
+ Language:
5
+ Includes:
6
+ Examples:
7
+ - it_has_behavior
8
+
9
+ RSpec/AroundBlock:
10
+ Enabled: true
11
+ RSpec/Be:
12
+ Enabled: true
13
+ RSpec/BeEq:
14
+ Enabled: true
15
+ RSpec/BeEql:
16
+ Enabled: true
17
+ RSpec/BeNil:
18
+ Enabled: true
19
+ RSpec/BeforeAfterAll:
20
+ Enabled: true
21
+ RSpec/Capybara/CurrentPathExpectation:
22
+ Enabled: true
23
+ RSpec/Capybara/FeatureMethods:
24
+ Enabled: true
25
+ RSpec/Capybara/VisibilityMatcher:
26
+ Enabled: true
27
+ RSpec/ChangeByZero:
28
+ Enabled: true
29
+ RSpec/ContextMethod:
30
+ Enabled: true
31
+ RSpec/DescribeClass:
32
+ Enabled: true
33
+ Exclude:
34
+ - spec/system/**/*
35
+ - spec/tasks/**/*
36
+ RSpec/DescribeMethod:
37
+ Enabled: true
38
+ RSpec/DescribeSymbol:
39
+ Enabled: true
40
+ RSpec/DescribedClass:
41
+ Enabled: true
42
+ RSpec/DescribedClassModuleWrapping:
43
+ Enabled: true
44
+ RSpec/EmptyExampleGroup:
45
+ Enabled: true
46
+ Exclude:
47
+ - spec/requests/api_v2/**/*
48
+ RSpec/EmptyHook:
49
+ Enabled: true
50
+ RSpec/EmptyLineAfterExample:
51
+ Enabled: true
52
+ RSpec/EmptyLineAfterExampleGroup:
53
+ Enabled: true
54
+ RSpec/ExampleWithoutDescription:
55
+ Enabled: true
56
+ RSpec/ExampleWording:
57
+ Enabled: true
58
+ RSpec/ExcessiveDocstringSpacing:
59
+ Enabled: true
60
+ RSpec/ExpectInHook:
61
+ Enabled: true
62
+ RSpec/ExpectOutput:
63
+ Enabled: true
64
+ RSpec/FactoryBot/AttributeDefinedStatically:
65
+ Enabled: true
66
+ RSpec/FactoryBot/CreateList:
67
+ Enabled: true
68
+ RSpec/FactoryBot/FactoryClassName:
69
+ Enabled: true
70
+ RSpec/FactoryBot/SyntaxMethods:
71
+ Enabled: true
72
+ RSpec/FilePath:
73
+ Enabled: true
74
+ IgnoreMethods: true
75
+ Exclude:
76
+ - spec/requests/api_v2/**/*
77
+ RSpec/Focus:
78
+ Enabled: true
79
+ RSpec/HooksBeforeExamples:
80
+ Enabled: true
81
+ RSpec/IdenticalEqualityAssertion:
82
+ Enabled: true
83
+ RSpec/InstanceSpy:
84
+ Enabled: true
85
+ RSpec/InstanceVariable:
86
+ Enabled: true
87
+ RSpec/ItBehavesLike:
88
+ Enabled: true
89
+ RSpec/IteratedExpectation:
90
+ Enabled: true
91
+ RSpec/LeakyConstantDeclaration:
92
+ Enabled: true
93
+ RSpec/LetBeforeExamples:
94
+ Enabled: true
95
+ RSpec/LetSetup:
96
+ Enabled: true
97
+ RSpec/MultipleDescribes:
98
+ Enabled: true
99
+ RSpec/MultipleSubjects:
100
+ Enabled: true
101
+ RSpec/OverwritingSetup:
102
+ Enabled: true
103
+ RSpec/Rails/AvoidSetupHook:
104
+ Enabled: true
105
+ RSpec/Rails/HttpStatus:
106
+ Enabled: true
107
+ RSpec/ReceiveCounts:
108
+ Enabled: true
109
+ RSpec/ReceiveNever:
110
+ Enabled: true
111
+ RSpec/RepeatedDescription:
112
+ Enabled: true
113
+ RSpec/RepeatedExample:
114
+ Enabled: true
115
+ RSpec/RepeatedExampleGroupBody:
116
+ Enabled: true
117
+ RSpec/RepeatedExampleGroupDescription:
118
+ Enabled: true
119
+ RSpec/ScatteredLet:
120
+ Enabled: true
121
+ RSpec/ScatteredSetup:
122
+ Enabled: true
123
+ RSpec/SharedContext:
124
+ Enabled: true
125
+ RSpec/SharedExamples:
126
+ Enabled: true
127
+ RSpec/SingleArgumentMessageChain:
128
+ Enabled: true
129
+ RSpec/StubbedMock:
130
+ Enabled: true
131
+ RSpec/SubjectDeclaration:
132
+ Enabled: true
133
+ RSpec/VariableDefinition:
134
+ Enabled: true
135
+ RSpec/VariableName:
136
+ Enabled: true
137
+ RSpec/VerifiedDoubleReference:
138
+ Enabled: true
139
+ RSpec/VerifiedDoubles:
140
+ Enabled: true
141
+ RSpec/VoidExpect:
142
+ Enabled: true
143
+ RSpec/Yield:
144
+ Enabled: true
@@ -0,0 +1,14 @@
1
+ Security/CompoundHash:
2
+ Enabled: true
3
+ Security/Eval:
4
+ Enabled: true
5
+ Security/IoMethods:
6
+ Enabled: true
7
+ Security/JSONLoad:
8
+ Enabled: true
9
+ Security/MarshalLoad:
10
+ Enabled: true
11
+ Security/Open:
12
+ Enabled: true
13
+ Security/YAMLLoad:
14
+ Enabled: true
data/config/style.yml ADDED
@@ -0,0 +1,339 @@
1
+ Style/AccessorGrouping:
2
+ Enabled: true
3
+ Style/Alias:
4
+ Enabled: true
5
+ EnforcedStyle: prefer_alias_method
6
+ Style/AndOr:
7
+ Enabled: true
8
+ Style/ArgumentsForwarding:
9
+ Enabled: true
10
+ Style/ArrayCoercion:
11
+ Enabled: true
12
+ Style/ArrayJoin:
13
+ Enabled: true
14
+ Style/Attr:
15
+ Enabled: true
16
+ Style/AutoResourceCleanup:
17
+ Enabled: true
18
+ Style/BarePercentLiterals:
19
+ Enabled: true
20
+ Style/BeginBlock:
21
+ Enabled: true
22
+ Style/BisectedAttrAccessor:
23
+ Enabled: true
24
+ Style/BlockComments:
25
+ Enabled: true
26
+ Exclude:
27
+ - support/**/*
28
+ Style/BlockDelimiters:
29
+ Enabled: true
30
+ Exclude:
31
+ - spec/**/*
32
+ Style/CaseLikeIf:
33
+ Enabled: true
34
+ Style/CharacterLiteral:
35
+ Enabled: true
36
+ Style/ClassCheck:
37
+ Enabled: true
38
+ Style/ClassEqualityComparison:
39
+ Enabled: true
40
+ Style/ClassMethods:
41
+ Enabled: true
42
+ Style/CollectionCompact:
43
+ Enabled: true
44
+ Style/CollectionMethods:
45
+ Enabled: true
46
+ PreferredMethods:
47
+ collect: 'map'
48
+ collect!: 'map!'
49
+ detect: 'find'
50
+ find_all: 'select'
51
+ Style/ColonMethodCall:
52
+ Enabled: true
53
+ Style/ColonMethodDefinition:
54
+ Enabled: true
55
+ Style/CombinableLoops:
56
+ Enabled: true
57
+ Style/CommentAnnotation:
58
+ Enabled: true
59
+ Style/ConditionalAssignment:
60
+ Enabled: true
61
+ Style/DateTime:
62
+ Enabled: true
63
+ Style/DefWithParentheses:
64
+ Enabled: true
65
+ Style/Dir:
66
+ Enabled: true
67
+ Style/DocumentDynamicEvalDefinition:
68
+ Enabled: true
69
+ Style/EachForSimpleLoop:
70
+ Enabled: true
71
+ Style/EachWithObject:
72
+ Enabled: true
73
+ Style/EmptyBlockParameter:
74
+ Enabled: true
75
+ Style/EmptyElse:
76
+ Enabled: true
77
+ Style/EmptyLambdaParameter:
78
+ Enabled: true
79
+ Style/EmptyLiteral:
80
+ Enabled: true
81
+ Style/EndBlock:
82
+ Enabled: true
83
+ Style/EndlessMethod:
84
+ Enabled: true
85
+ Style/EvalWithLocation:
86
+ Enabled: true
87
+ Style/EvenOdd:
88
+ Enabled: true
89
+ Style/ExpandPathArguments:
90
+ Enabled: true
91
+ Style/ExplicitBlockArgument:
92
+ Enabled: true
93
+ Style/ExponentialNotation:
94
+ Enabled: true
95
+ Style/FetchEnvVar:
96
+ Enabled: true
97
+ Style/FileRead:
98
+ Enabled: true
99
+ Style/FileWrite:
100
+ Enabled: true
101
+ Style/FloatDivision:
102
+ Enabled: true
103
+ Style/For:
104
+ Enabled: true
105
+ Style/GlobalStdStream:
106
+ Enabled: true
107
+ Style/GlobalVars:
108
+ Enabled: true
109
+ Style/HashConversion:
110
+ Enabled: true
111
+ Style/HashEachMethods:
112
+ Enabled: true
113
+ Style/HashExcept:
114
+ Enabled: true
115
+ Style/HashLikeCase:
116
+ Enabled: true
117
+ Style/HashSyntax:
118
+ Enabled: true
119
+ EnforcedShorthandSyntax: never
120
+ Style/HashTransformKeys:
121
+ Enabled: true
122
+ Style/HashTransformValues:
123
+ Enabled: true
124
+ Style/IdenticalConditionalBranches:
125
+ Enabled: true
126
+ Style/IfInsideElse:
127
+ Enabled: true
128
+ Style/IfUnlessModifierOfIfUnless:
129
+ Enabled: true
130
+ Style/IfWithBooleanLiteralBranches:
131
+ Enabled: true
132
+ Style/IfWithSemicolon:
133
+ Enabled: true
134
+ Style/InfiniteLoop:
135
+ Enabled: true
136
+ Style/InverseMethods:
137
+ Enabled: true
138
+ Style/KeywordParametersOrder:
139
+ Enabled: true
140
+ Style/LambdaCall:
141
+ Enabled: true
142
+ Style/LineEndConcatenation:
143
+ Enabled: true
144
+ Style/MapCompactWithConditionalBlock:
145
+ Enabled: true
146
+ Style/MapToHash:
147
+ Enabled: true
148
+ Style/MethodCallWithoutArgsParentheses:
149
+ Enabled: true
150
+ Style/MethodDefParentheses:
151
+ Enabled: true
152
+ Style/MinMax:
153
+ Enabled: true
154
+ Style/MissingRespondToMissing:
155
+ Enabled: true
156
+ Style/MixinGrouping:
157
+ Enabled: true
158
+ Style/MixinUsage:
159
+ Enabled: true
160
+ Style/ModuleFunction:
161
+ Enabled: true
162
+ Style/MultilineIfThen:
163
+ Enabled: true
164
+ Style/MultilineInPatternThen:
165
+ Enabled: true
166
+ Style/MultilineMemoization:
167
+ Enabled: true
168
+ Style/MultilineMethodSignature:
169
+ Enabled: true
170
+ Style/MultilineWhenThen:
171
+ Enabled: true
172
+ Style/MultipleComparison:
173
+ Enabled: true
174
+ Style/MutableConstant:
175
+ Enabled: true
176
+ Style/NegatedIf:
177
+ Enabled: true
178
+ Style/NegatedIfElseCondition:
179
+ Enabled: true
180
+ Style/NegatedUnless:
181
+ Enabled: true
182
+ Style/NegatedWhile:
183
+ Enabled: true
184
+ Style/NestedFileDirname:
185
+ Enabled: true
186
+ Style/NestedModifier:
187
+ Enabled: true
188
+ Style/NestedTernaryOperator:
189
+ Enabled: true
190
+ Style/Next:
191
+ Enabled: true
192
+ Style/NilComparison:
193
+ Enabled: true
194
+ Style/NilLambda:
195
+ Enabled: true
196
+ Style/NonNilCheck:
197
+ Enabled: true
198
+ Style/Not:
199
+ Enabled: true
200
+ Style/NumberedParameters:
201
+ Enabled: true
202
+ Style/NumberedParametersLimit:
203
+ Enabled: true
204
+ Style/NumericLiteralPrefix:
205
+ Enabled: true
206
+ Style/NumericLiterals:
207
+ Enabled: true
208
+ Style/ObjectThen:
209
+ Enabled: true
210
+ Style/OneLineConditional:
211
+ Enabled: true
212
+ Style/OpenStructUse:
213
+ Enabled: true
214
+ Style/OptionalArguments:
215
+ Enabled: true
216
+ Style/OptionalBooleanParameter:
217
+ Enabled: true
218
+ Style/ParenthesesAroundCondition:
219
+ Enabled: true
220
+ Style/PercentQLiterals:
221
+ Enabled: true
222
+ Style/PerlBackrefs:
223
+ Enabled: true
224
+ Style/PreferredHashMethods:
225
+ Enabled: true
226
+ Style/Proc:
227
+ Enabled: true
228
+ Style/RaiseArgs:
229
+ Enabled: true
230
+ Style/RedundantArgument:
231
+ Enabled: true
232
+ Style/RedundantAssignment:
233
+ Enabled: true
234
+ Style/RedundantBegin:
235
+ Enabled: true
236
+ Style/RedundantCapitalW:
237
+ Enabled: true
238
+ Style/RedundantCondition:
239
+ Enabled: true
240
+ Style/RedundantConditional:
241
+ Enabled: true
242
+ Style/RedundantException:
243
+ Enabled: true
244
+ Style/RedundantFetchBlock:
245
+ Enabled: true
246
+ Style/RedundantFileExtensionInRequire:
247
+ Enabled: true
248
+ Style/RedundantFreeze:
249
+ Enabled: true
250
+ Style/RedundantInitialize:
251
+ Enabled: true
252
+ Style/RedundantInterpolation:
253
+ Enabled: true
254
+ Style/RedundantParentheses:
255
+ Enabled: true
256
+ Style/RedundantPercentQ:
257
+ Enabled: true
258
+ Style/RedundantRegexpCharacterClass:
259
+ Enabled: true
260
+ Style/RedundantRegexpEscape:
261
+ Enabled: true
262
+ Style/RedundantReturn:
263
+ Enabled: true
264
+ Style/RedundantSelf:
265
+ Enabled: true
266
+ Style/RedundantSelfAssignment:
267
+ Enabled: true
268
+ Style/RedundantSelfAssignmentBranch:
269
+ Enabled: true
270
+ Style/RedundantSort:
271
+ Enabled: true
272
+ Style/RedundantSortBy:
273
+ Enabled: true
274
+ Style/RescueStandardError:
275
+ Enabled: true
276
+ Style/ReturnNil:
277
+ Enabled: true
278
+ Style/SafeNavigation:
279
+ Enabled: true
280
+ Style/Sample:
281
+ Enabled: true
282
+ Style/SelectByRegexp:
283
+ Enabled: true
284
+ Style/SelfAssignment:
285
+ Enabled: true
286
+ Style/SignalException:
287
+ Enabled: true
288
+ Style/SingleArgumentDig:
289
+ Enabled: true
290
+ Style/SlicingWithRange:
291
+ Enabled: true
292
+ Style/SoleNestedConditional:
293
+ Enabled: true
294
+ Style/SpecialGlobalVars:
295
+ Enabled: true
296
+ Style/StabbyLambdaParentheses:
297
+ Enabled: true
298
+ Style/StaticClass:
299
+ Enabled: true
300
+ Style/StderrPuts:
301
+ Enabled: true
302
+ Style/StringChars:
303
+ Enabled: true
304
+ Style/StringConcatenation:
305
+ Enabled: true
306
+ Style/StringMethods:
307
+ Enabled: true
308
+ Style/Strip:
309
+ Enabled: true
310
+ Style/StructInheritance:
311
+ Enabled: true
312
+ Style/SwapValues:
313
+ Enabled: true
314
+ Style/SymbolLiteral:
315
+ Enabled: true
316
+ Style/SymbolProc:
317
+ Enabled: true
318
+ Style/TopLevelMethodDefinition:
319
+ Enabled: true
320
+ Style/TrailingBodyOnClass:
321
+ Enabled: true
322
+ Style/TrailingBodyOnModule:
323
+ Enabled: true
324
+ Style/TrailingCommaInBlockArgs:
325
+ Enabled: true
326
+ Style/TrivialAccessors:
327
+ Enabled: true
328
+ Style/UnlessElse:
329
+ Enabled: true
330
+ Style/UnpackFirst:
331
+ Enabled: true
332
+ Style/VariableInterpolation:
333
+ Enabled: true
334
+ Style/WhileUntilDo:
335
+ Enabled: true
336
+ Style/YodaCondition:
337
+ Enabled: true
338
+ Style/ZeroLengthPredicate:
339
+ Enabled: true