1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2016-12-17 10:16:05 +0100 using RuboCop version 0.46.0.
3
+ # on 2017-10-13 10:01:18 +0200 using RuboCop version 0.46.0.
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
@@ -65,11 +65,6 @@ Lint/HandleExceptions:
65
65
Exclude :
66
66
- ' bin/annotate'
67
67
68
- # Offense count: 8
69
- Lint/IneffectiveAccessModifier :
70
- Exclude :
71
- - ' lib/annotate/annotate_routes.rb'
72
-
73
68
# Offense count: 1
74
69
# Cop supports --auto-correct.
75
70
# Configuration parameters: EnforcedStyle, SupportedStyles.
@@ -88,62 +83,51 @@ Lint/ShadowingOuterLocalVariable:
88
83
Exclude :
89
84
- ' Rakefile'
90
85
91
- # Offense count: 6
86
+ # Offense count: 7
92
87
# Cop supports --auto-correct.
93
88
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
94
89
Lint/UnusedBlockArgument :
95
90
Exclude :
96
91
- ' bin/annotate'
97
92
98
- # Offense count: 1
99
- # Configuration parameters: ContextCreatingMethods.
100
- Lint/UselessAccessModifier :
101
- Exclude :
102
- - ' lib/annotate/annotate_routes.rb'
103
-
104
- # Offense count: 17
93
+ # Offense count: 18
105
94
Metrics/AbcSize :
106
- Max : 159
95
+ Max : 142
107
96
108
97
# Offense count: 3
109
98
# Configuration parameters: CountComments.
110
99
Metrics/BlockLength :
111
- Max : 140
100
+ Max : 142
112
101
113
102
# Offense count: 2
114
103
Metrics/BlockNesting :
115
104
Max : 4
116
105
117
- # Offense count: 8
106
+ # Offense count: 9
118
107
Metrics/CyclomaticComplexity :
119
- Max : 42
108
+ Max : 36
120
109
121
- # Offense count: 350
110
+ # Offense count: 380
122
111
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
123
112
# URISchemes: http, https
124
113
Metrics/LineLength :
125
- Max : 543
114
+ Max : 276
126
115
127
- # Offense count: 24
116
+ # Offense count: 26
128
117
# Configuration parameters: CountComments.
129
118
Metrics/MethodLength :
130
- Max : 79
131
-
132
- # Offense count: 1
133
- # Configuration parameters: CountComments.
134
- Metrics/ModuleLength :
135
- Max : 116
119
+ Max : 75
136
120
137
121
# Offense count: 7
138
122
Metrics/PerceivedComplexity :
139
- Max : 48
123
+ Max : 42
140
124
141
125
# Offense count: 1
142
126
Style/AccessorMethodName :
143
127
Exclude :
144
128
- ' lib/annotate.rb'
145
129
146
- # Offense count: 3
130
+ # Offense count: 2
147
131
# Cop supports --auto-correct.
148
132
Style/AlignArray :
149
133
Exclude :
@@ -259,21 +243,14 @@ Style/ExtraSpacing:
259
243
- ' spec/integration/rails_4.2.0/Gemfile'
260
244
- ' spec/integration/rails_4.2.0/config.ru'
261
245
262
- # Offense count: 9
246
+ # Offense count: 10
263
247
# Configuration parameters: EnforcedStyle, SupportedStyles.
264
248
# SupportedStyles: format, sprintf, percent
265
249
Style/FormatString :
266
250
Exclude :
267
251
- ' lib/annotate/annotate_models.rb'
268
252
- ' lib/annotate/annotate_routes.rb'
269
253
270
- # Offense count: 181
271
- # Cop supports --auto-correct.
272
- # Configuration parameters: EnforcedStyle, SupportedStyles.
273
- # SupportedStyles: when_needed, always
274
- Style/FrozenStringLiteralComment :
275
- Enabled : false
276
-
277
254
# Offense count: 7
278
255
# Configuration parameters: MinBodyLength.
279
256
Style/GuardClause :
@@ -356,16 +333,6 @@ Style/NumericLiterals:
356
333
357
334
# Offense count: 2
358
335
# Cop supports --auto-correct.
359
- # Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
360
- # SupportedStyles: predicate, comparison
361
- Style/NumericPredicate :
362
- Exclude :
363
- - ' spec/**/*'
364
- - ' lib/annotate.rb'
365
- - ' lib/annotate/annotate_models.rb'
366
-
367
- # Offense count: 6
368
- # Cop supports --auto-correct.
369
336
# Configuration parameters: PreferredDelimiters.
370
337
Style/PercentLiteralDelimiters :
371
338
Exclude :
@@ -458,16 +425,15 @@ Style/SpaceAroundKeyword:
458
425
- ' spec/integration/rails_4.2.0/Gemfile'
459
426
- ' spec/integration/standalone/Gemfile'
460
427
461
- # Offense count: 6
428
+ # Offense count: 4
462
429
# Cop supports --auto-correct.
463
430
# Configuration parameters: AllowForAlignment.
464
431
Style/SpaceAroundOperators :
465
432
Exclude :
466
433
- ' lib/annotate/annotate_models.rb'
467
- - ' lib/tasks/annotate_models.rake'
468
434
- ' lib/tasks/annotate_routes.rake'
469
435
470
- # Offense count: 4
436
+ # Offense count: 1
471
437
# Cop supports --auto-correct.
472
438
# Configuration parameters: EnforcedStyle, SupportedStyles.
473
439
# SupportedStyles: space, no_space
@@ -517,14 +483,14 @@ Style/SpaceInsideStringInterpolation:
517
483
Exclude :
518
484
- ' lib/annotate/annotate_models.rb'
519
485
520
- # Offense count: 223
486
+ # Offense count: 237
521
487
# Cop supports --auto-correct.
522
488
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
523
489
# SupportedStyles: single_quotes, double_quotes
524
490
Style/StringLiterals :
525
491
Enabled : false
526
492
527
- # Offense count: 2
493
+ # Offense count: 1
528
494
# Cop supports --auto-correct.
529
495
# Configuration parameters: EnforcedStyle, SupportedStyles.
530
496
# SupportedStyles: single_quotes, double_quotes
@@ -581,7 +547,7 @@ Style/UnneededInterpolation:
581
547
Exclude :
582
548
- ' bin/annotate'
583
549
584
- # Offense count: 8
550
+ # Offense count: 4
585
551
# Cop supports --auto-correct.
586
552
Style/UnneededPercentQ :
587
553
Exclude :
0 commit comments