lintf 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,401 @@
1
+ require: rubocop-rails
2
+
3
+ Rails/ActionControllerFlashBeforeRender:
4
+ Enabled: true
5
+
6
+ Rails/ActionControllerTestCase:
7
+ Enabled: true
8
+
9
+ Rails/ActionOrder:
10
+ Enabled: true
11
+
12
+ Rails/ActiveRecordAliases:
13
+ Enabled: true
14
+
15
+ Rails/ActiveRecordCallbacksOrder:
16
+ Enabled: true
17
+
18
+ Rails/ActiveRecordOverride:
19
+ Enabled: true
20
+
21
+ Rails/ActiveSupportAliases:
22
+ Enabled: true
23
+
24
+ Rails/ActiveSupportOnLoad:
25
+ Enabled: true
26
+
27
+ Rails/AddColumnIndex:
28
+ Enabled: true
29
+
30
+ Rails/AfterCommitOverride:
31
+ Enabled: true
32
+
33
+ Rails/ApplicationController:
34
+ Enabled: true
35
+
36
+ Rails/ApplicationJob:
37
+ Enabled: true
38
+
39
+ Rails/ApplicationMailer:
40
+ Enabled: true
41
+
42
+ Rails/ApplicationRecord:
43
+ Enabled: true
44
+
45
+ Rails/ArelStar:
46
+ Enabled: true
47
+
48
+ Rails/AssertNot:
49
+ Enabled: true
50
+
51
+ Rails/AttributeDefaultBlockValue:
52
+ Enabled: true
53
+
54
+ Rails/BelongsTo:
55
+ Enabled: true
56
+
57
+ Rails/Blank:
58
+ Enabled: true
59
+
60
+ Rails/BulkChangeTable:
61
+ Enabled: false
62
+
63
+ Rails/CompactBlank:
64
+ Enabled: true
65
+
66
+ Rails/ContentTag:
67
+ Enabled: true
68
+
69
+ Rails/CreateTableWithTimestamps:
70
+ Enabled: false
71
+
72
+ Rails/DangerousColumnNames:
73
+ Enabled: true
74
+
75
+ Rails/Date:
76
+ Enabled: true
77
+ EnforcedStyle: strict
78
+
79
+ Rails/DefaultScope:
80
+ Enabled: false
81
+
82
+ Rails/Delegate:
83
+ Enabled: true
84
+
85
+ Rails/DelegateAllowBlank:
86
+ Enabled: true
87
+
88
+ Rails/DeprecatedActiveModelErrorsMethods:
89
+ Enabled: true
90
+
91
+ Rails/DotSeparatedKeys:
92
+ Enabled: true
93
+
94
+ Rails/DuplicateAssociation:
95
+ Enabled: true
96
+
97
+ Rails/DuplicateScope:
98
+ Enabled: true
99
+
100
+ Rails/DurationArithmetic:
101
+ Enabled: true
102
+
103
+ Rails/DynamicFindBy:
104
+ Enabled: true
105
+
106
+ Rails/EagerEvaluationLogMessage:
107
+ Enabled: true
108
+
109
+ Rails/EnumHash:
110
+ Enabled: true
111
+
112
+ Rails/EnumSyntax:
113
+ Enabled: true
114
+
115
+ Rails/EnumUniqueness:
116
+ Enabled: true
117
+
118
+ Rails/EnvLocal:
119
+ Enabled: true
120
+
121
+ Rails/EnvironmentComparison:
122
+ Enabled: true
123
+
124
+ Rails/EnvironmentVariableAccess:
125
+ Enabled: false
126
+
127
+ Rails/Exit:
128
+ Enabled: true
129
+
130
+ Rails/ExpandedDateRange:
131
+ Enabled: true
132
+
133
+ Rails/FilePath:
134
+ Enabled: true
135
+
136
+ Rails/FindBy:
137
+ Enabled: true
138
+ IgnoreWhereFirst: false
139
+
140
+ Rails/FindById:
141
+ Enabled: true
142
+
143
+ Rails/FindEach:
144
+ Enabled: true
145
+
146
+ Rails/FreezeTime:
147
+ Enabled: true
148
+
149
+ Rails/HasAndBelongsToMany:
150
+ Enabled: true
151
+
152
+ Rails/HasManyOrHasOneDependent:
153
+ Enabled: true
154
+
155
+ Rails/HelperInstanceVariable:
156
+ Enabled: true
157
+
158
+ Rails/HttpPositionalArguments:
159
+ Enabled: true
160
+
161
+ Rails/HttpStatus:
162
+ Enabled: true
163
+
164
+ Rails/I18nLazyLookup:
165
+ Enabled: true
166
+
167
+ Rails/I18nLocaleAssignment:
168
+ Enabled: true
169
+
170
+ Rails/I18nLocaleTexts:
171
+ Enabled: true
172
+
173
+ Rails/IgnoredColumnsAssignment:
174
+ Enabled: true
175
+
176
+ Rails/IgnoredSkipActionFilterOption:
177
+ Enabled: true
178
+
179
+ Rails/IndexBy:
180
+ Enabled: true
181
+
182
+ Rails/IndexWith:
183
+ Enabled: true
184
+
185
+ Rails/Inquiry:
186
+ Enabled: true
187
+
188
+ Rails/InverseOf:
189
+ Enabled: true
190
+
191
+ Rails/LexicallyScopedActionFilter:
192
+ Enabled: false
193
+
194
+ Rails/LinkToBlank:
195
+ Enabled: true
196
+
197
+ Rails/MailerName:
198
+ Enabled: true
199
+
200
+ Rails/MatchRoute:
201
+ Enabled: true
202
+
203
+ Rails/MigrationClassName:
204
+ Enabled: true
205
+
206
+ Rails/NegateInclude:
207
+ Enabled: true
208
+
209
+ Rails/NotNullColumn:
210
+ Enabled: false
211
+
212
+ Rails/OrderById:
213
+ Enabled: false
214
+
215
+ Rails/Output:
216
+ Enabled: true
217
+
218
+ Rails/OutputSafety:
219
+ Enabled: true
220
+
221
+ Rails/Pick:
222
+ Enabled: true
223
+
224
+ Rails/Pluck:
225
+ Enabled: true
226
+
227
+ Rails/PluckId:
228
+ Enabled: false
229
+
230
+ Rails/PluckInWhere:
231
+ Enabled: true
232
+ EnforcedStyle: aggressive
233
+
234
+ Rails/PluralizationGrammar:
235
+ Enabled: true
236
+
237
+ Rails/Presence:
238
+ Enabled: true
239
+
240
+ Rails/Present:
241
+ Enabled: true
242
+
243
+ Rails/RakeEnvironment:
244
+ Enabled: false
245
+
246
+ Rails/ReadWriteAttribute:
247
+ Enabled: true
248
+
249
+ Rails/RedundantActiveRecordAllMethod:
250
+ Enabled: true
251
+
252
+ Rails/RedundantAllowNil:
253
+ Enabled: true
254
+
255
+ Rails/RedundantForeignKey:
256
+ Enabled: true
257
+
258
+ Rails/RedundantPresenceValidationOnBelongsTo:
259
+ Enabled: true
260
+
261
+ Rails/RedundantReceiverInWithOptions:
262
+ Enabled: true
263
+
264
+ Rails/RedundantTravelBack:
265
+ Enabled: true
266
+
267
+ Rails/ReflectionClassName:
268
+ Enabled: true
269
+
270
+ Rails/RefuteMethods:
271
+ Enabled: false
272
+
273
+ Rails/RelativeDateConstant:
274
+ Enabled: true
275
+
276
+ Rails/RenderInline:
277
+ Enabled: true
278
+
279
+ Rails/RenderPlainText:
280
+ Enabled: true
281
+
282
+ Rails/RequestReferer:
283
+ Enabled: true
284
+
285
+ Rails/RequireDependency:
286
+ Enabled: true
287
+
288
+ Rails/ResponseParsedBody:
289
+ Enabled: true
290
+
291
+ Rails/ReversibleMigration:
292
+ Enabled: true
293
+
294
+ Rails/ReversibleMigrationMethodDefinition:
295
+ Enabled: true
296
+
297
+ Rails/RootJoinChain:
298
+ Enabled: true
299
+
300
+ Rails/RootPathnameMethods:
301
+ Enabled: true
302
+
303
+ Rails/RootPublicPath:
304
+ Enabled: true
305
+
306
+ Rails/SafeNavigation:
307
+ Enabled: true
308
+ ConvertTry: true
309
+
310
+ Rails/SafeNavigationWithBlank:
311
+ Enabled: true
312
+
313
+ Rails/SaveBang:
314
+ Enabled: false
315
+
316
+ Rails/SchemaComment:
317
+ Enabled: false
318
+
319
+ Rails/ScopeArgs:
320
+ Enabled: true
321
+
322
+ Rails/SelectMap:
323
+ Enabled: true
324
+
325
+ Rails/ShortI18n:
326
+ Enabled: true
327
+ EnforcedStyle: aggressive
328
+
329
+ Rails/SkipsModelValidations:
330
+ Enabled: true
331
+ Exclude:
332
+ - '**/db/migrate/**/*'
333
+ - spec/**/*
334
+
335
+ Rails/SquishedSQLHeredocs:
336
+ Enabled: true
337
+
338
+ Rails/StripHeredoc:
339
+ Enabled: true
340
+
341
+ Rails/TableNameAssignment:
342
+ Enabled: true
343
+
344
+ Rails/ThreeStateBooleanColumn:
345
+ Enabled: true
346
+
347
+ Rails/TimeZone:
348
+ Enabled: true
349
+ EnforcedStyle: strict
350
+
351
+ Rails/TimeZoneAssignment:
352
+ Enabled: true
353
+
354
+ Rails/ToFormattedS:
355
+ Enabled: true
356
+
357
+ Rails/ToSWithArgument:
358
+ Enabled: true
359
+
360
+ Rails/TopLevelHashWithIndifferentAccess:
361
+ Enabled: true
362
+
363
+ Rails/TransactionExitStatement:
364
+ Enabled: true
365
+
366
+ Rails/UniqBeforePluck:
367
+ Enabled: true
368
+ EnforcedStyle: aggressive
369
+
370
+ Rails/UniqueValidationWithoutIndex:
371
+ Enabled: true
372
+
373
+ Rails/UnknownEnv:
374
+ Enabled: true
375
+
376
+ Rails/UnusedIgnoredColumns:
377
+ Enabled: true
378
+
379
+ Rails/UnusedRenderContent:
380
+ Enabled: true
381
+
382
+ Rails/Validation:
383
+ Enabled: true
384
+
385
+ Rails/WhereEquals:
386
+ Enabled: true
387
+
388
+ Rails/WhereExists:
389
+ Enabled: true
390
+
391
+ Rails/WhereMissing:
392
+ Enabled: true
393
+
394
+ Rails/WhereNot:
395
+ Enabled: true
396
+
397
+ Rails/WhereNotWithMultipleConditions:
398
+ Enabled: true
399
+
400
+ Rails/WhereRange:
401
+ Enabled: true
@@ -0,0 +1,345 @@
1
+ require: rubocop-rspec
2
+
3
+ RSpec/AlignLeftLetBrace:
4
+ Enabled: false
5
+
6
+ RSpec/AlignRightLetBrace:
7
+ Enabled: false
8
+
9
+ RSpec/AnyInstance:
10
+ Enabled: false
11
+
12
+ RSpec/AroundBlock:
13
+ Enabled: true
14
+
15
+ RSpec/Be:
16
+ Enabled: true
17
+
18
+ RSpec/BeEmpty:
19
+ Enabled: true
20
+
21
+ RSpec/BeEq:
22
+ Enabled: true
23
+
24
+ RSpec/BeEql:
25
+ Enabled: true
26
+
27
+ RSpec/BeNil:
28
+ Enabled: true
29
+
30
+ RSpec/BeforeAfterAll:
31
+ Enabled: true
32
+
33
+ RSpec/ChangeByZero:
34
+ Enabled: true
35
+ NegatedMatcher: not_change
36
+
37
+ RSpec/ClassCheck:
38
+ Enabled: true
39
+
40
+ RSpec/ContainExactly:
41
+ Enabled: true
42
+
43
+ RSpec/ContextMethod:
44
+ Enabled: true
45
+
46
+ RSpec/ContextWording:
47
+ Enabled: true
48
+
49
+ RSpec/DescribeClass:
50
+ Enabled: true
51
+
52
+ RSpec/DescribeMethod:
53
+ Enabled: true
54
+
55
+ RSpec/DescribeSymbol:
56
+ Enabled: true
57
+
58
+ RSpec/DescribedClass:
59
+ Enabled: true
60
+
61
+ RSpec/DescribedClassModuleWrapping:
62
+ Enabled: true
63
+
64
+ RSpec/Dialect:
65
+ Enabled: false
66
+
67
+ RSpec/DuplicatedMetadata:
68
+ Enabled: true
69
+
70
+ RSpec/EmptyExampleGroup:
71
+ Enabled: true
72
+
73
+ RSpec/EmptyHook:
74
+ Enabled: true
75
+
76
+ RSpec/EmptyLineAfterExample:
77
+ Enabled: true
78
+
79
+ RSpec/EmptyLineAfterExampleGroup:
80
+ Enabled: true
81
+
82
+ RSpec/EmptyLineAfterFinalLet:
83
+ Enabled: true
84
+
85
+ RSpec/EmptyLineAfterHook:
86
+ Enabled: true
87
+
88
+ RSpec/EmptyLineAfterSubject:
89
+ Enabled: false
90
+
91
+ RSpec/EmptyMetadata:
92
+ Enabled: true
93
+
94
+ RSpec/EmptyOutput:
95
+ Enabled: true
96
+
97
+ RSpec/Eq:
98
+ Enabled: true
99
+
100
+ RSpec/ExampleLength:
101
+ Enabled: true
102
+ Max: 10
103
+ CountAsOne:
104
+ - array
105
+ - hash
106
+ - heredoc
107
+
108
+ RSpec/ExampleWithoutDescription:
109
+ Enabled: true
110
+ EnforcedStyle: disallow
111
+
112
+ RSpec/ExampleWording:
113
+ Enabled: true
114
+
115
+ RSpec/ExcessiveDocstringSpacing:
116
+ Enabled: true
117
+
118
+ RSpec/ExpectActual:
119
+ Enabled: true
120
+
121
+ RSpec/ExpectChange:
122
+ Enabled: true
123
+ EnforcedStyle: block
124
+
125
+ RSpec/ExpectInHook:
126
+ Enabled: true
127
+
128
+ RSpec/ExpectInLet:
129
+ Enabled: true
130
+
131
+ RSpec/ExpectOutput:
132
+ Enabled: true
133
+
134
+ RSpec/Focus:
135
+ Enabled: true
136
+
137
+ RSpec/HookArgument:
138
+ Enabled: true
139
+
140
+ RSpec/HooksBeforeExamples:
141
+ Enabled: true
142
+
143
+ RSpec/IdenticalEqualityAssertion:
144
+ Enabled: true
145
+
146
+ RSpec/ImplicitBlockExpectation:
147
+ Enabled: true
148
+
149
+ RSpec/ImplicitExpect:
150
+ Enabled: false
151
+
152
+ RSpec/ImplicitSubject:
153
+ Enabled: true
154
+ EnforcedStyle: disallow
155
+
156
+ RSpec/IndexedLet:
157
+ Enabled: true
158
+
159
+ RSpec/InstanceSpy:
160
+ Enabled: true
161
+
162
+ RSpec/InstanceVariable:
163
+ Enabled: true
164
+
165
+ RSpec/IsExpectedSpecify:
166
+ Enabled: true
167
+
168
+ RSpec/ItBehavesLike:
169
+ Enabled: true
170
+
171
+ RSpec/IteratedExpectation:
172
+ Enabled: true
173
+
174
+ RSpec/LeadingSubject:
175
+ Enabled: true
176
+
177
+ RSpec/LeakyConstantDeclaration:
178
+ Enabled: true
179
+
180
+ RSpec/LetBeforeExamples:
181
+ Enabled: true
182
+
183
+ RSpec/LetSetup:
184
+ Enabled: true
185
+
186
+ RSpec/MatchArray:
187
+ Enabled: true
188
+
189
+ RSpec/MessageChain:
190
+ Enabled: false
191
+
192
+ RSpec/MessageExpectation:
193
+ Enabled: true
194
+
195
+ RSpec/MessageSpies:
196
+ Enabled: true
197
+
198
+ RSpec/MetadataStyle:
199
+ Enabled: true
200
+
201
+ RSpec/MissingExampleGroupArgument:
202
+ Enabled: true
203
+
204
+ RSpec/MissingExpectationTargetMethod:
205
+ Enabled: true
206
+
207
+ RSpec/MultipleDescribes:
208
+ Enabled: true
209
+
210
+ RSpec/MultipleExpectations:
211
+ Enabled: false
212
+
213
+ RSpec/MultipleMemoizedHelpers:
214
+ Enabled: true
215
+ Max: 10
216
+
217
+ RSpec/MultipleSubjects:
218
+ Enabled: true
219
+
220
+ RSpec/NamedSubject:
221
+ Enabled: true
222
+
223
+ RSpec/NestedGroups:
224
+ Enabled: true
225
+ Max: 5
226
+
227
+ RSpec/NoExpectationExample:
228
+ Enabled: true
229
+
230
+ RSpec/NotToNot:
231
+ Enabled: true
232
+
233
+ RSpec/OverwritingSetup:
234
+ Enabled: true
235
+
236
+ RSpec/Pending:
237
+ Enabled: false
238
+
239
+ RSpec/PendingWithoutReason:
240
+ Enabled: true
241
+
242
+ RSpec/PredicateMatcher:
243
+ Enabled: true
244
+
245
+ RSpec/ReceiveCounts:
246
+ Enabled: true
247
+
248
+ RSpec/ReceiveMessages:
249
+ Enabled: true
250
+
251
+ RSpec/ReceiveNever:
252
+ Enabled: true
253
+
254
+ RSpec/RedundantAround:
255
+ Enabled: true
256
+
257
+ RSpec/RedundantPredicateMatcher:
258
+ Enabled: true
259
+
260
+ RSpec/RemoveConst:
261
+ Enabled: true
262
+
263
+ RSpec/RepeatedDescription:
264
+ Enabled: true
265
+
266
+ RSpec/RepeatedExample:
267
+ Enabled: true
268
+
269
+ RSpec/RepeatedExampleGroupBody:
270
+ Enabled: true
271
+
272
+ RSpec/RepeatedExampleGroupDescription:
273
+ Enabled: true
274
+
275
+ RSpec/RepeatedIncludeExample:
276
+ Enabled: true
277
+
278
+ RSpec/RepeatedSubjectCall:
279
+ Enabled: true
280
+
281
+ RSpec/ReturnFromStub:
282
+ Enabled: true
283
+
284
+ RSpec/ScatteredLet:
285
+ Enabled: true
286
+
287
+ RSpec/ScatteredSetup:
288
+ Enabled: true
289
+
290
+ RSpec/SharedContext:
291
+ Enabled: true
292
+
293
+ RSpec/SharedExamples:
294
+ Enabled: true
295
+
296
+ RSpec/SingleArgumentMessageChain:
297
+ Enabled: true
298
+
299
+ RSpec/SkipBlockInsideExample:
300
+ Enabled: true
301
+
302
+ RSpec/SortMetadata:
303
+ Enabled: true
304
+
305
+ RSpec/SpecFilePathFormat:
306
+ Enabled: true
307
+
308
+ RSpec/SpecFilePathSuffix:
309
+ Enabled: true
310
+
311
+ RSpec/StringAsInstanceDoubleConstant:
312
+ Enabled: true
313
+
314
+ RSpec/StubbedMock:
315
+ Enabled: true
316
+
317
+ RSpec/SubjectDeclaration:
318
+ Enabled: true
319
+
320
+ RSpec/SubjectStub:
321
+ Enabled: true
322
+
323
+ RSpec/UndescriptiveLiteralsDescription:
324
+ Enabled: true
325
+
326
+ RSpec/UnspecifiedException:
327
+ Enabled: true
328
+
329
+ RSpec/VariableDefinition:
330
+ Enabled: true
331
+
332
+ RSpec/VariableName:
333
+ Enabled: true
334
+
335
+ RSpec/VerifiedDoubleReference:
336
+ Enabled: true
337
+
338
+ RSpec/VerifiedDoubles:
339
+ Enabled: true
340
+
341
+ RSpec/VoidExpect:
342
+ Enabled: true
343
+
344
+ RSpec/Yield:
345
+ Enabled: true