This repository has been archived by the owner on Dec 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop_todo.yml
110 lines (94 loc) · 2.89 KB
/
.rubocop_todo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-12-10 22:51:11 -0700 using RuboCop version 0.77.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 2
# Cop supports --auto-correct.
Lint/SendWithMixinArgument:
Exclude:
- 'lib/has_array_field.rb'
- 'lib/has_tag_proxy.rb'
# Offense count: 1
# Configuration parameters: AllowComments.
Lint/SuppressedException:
Exclude:
- 'config/unicorn.rb'
# Offense count: 241
Metrics/AbcSize:
Max: 96
# Offense count: 11
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 5
# Offense count: 57
Metrics/CyclomaticComplexity:
Max: 36
# Offense count: 209
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 123
# Offense count: 57
Metrics/PerceivedComplexity:
Max: 44
# Offense count: 7
Naming/AccessorMethodName:
Exclude:
- 'app/controllers/concerns/time_period.rb'
- 'app/models/concerns/sluggable.rb'
- 'app/models/livestream_channel.rb'
- 'app/models/tag.rb'
- 'app/models/twitch_channel.rb'
- 'app/models/user.rb'
# Offense count: 2
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to, by, on, in, at, ip, db, os
Naming/MethodParameterName:
Exclude:
- 'lib/image_loader.rb'
- 'lib/search_evaluator.rb'
# Offense count: 23
# Configuration parameters: EnforcedStyle.
# SupportedStyles: slashes, arguments
Rails/FilePath:
Exclude:
- 'config/environments/development.rb'
- 'config/initializers/assets.rb'
- 'config/initializers/carrierwave.rb'
- 'db/seeds.rb'
- 'db/seeds_development.rb'
- 'lib/booru/config.rb'
- 'test/controllers/images_controller_test.rb'
- 'test/factories/images.rb'
# Offense count: 102
# Configuration parameters: Blacklist, Whitelist.
# Blacklist: decrement!, decrement_counter, increment!, increment_counter, toggle!, touch, update_all, update_attribute, update_column, update_columns, update_counters
Rails/SkipsModelValidations:
Enabled: false
# Offense count: 371
Style/Documentation:
Enabled: false
# Offense count: 7
# Configuration parameters: EnforcedStyle.
# SupportedStyles: annotated, template, unannotated
Style/FormatStringToken:
Exclude:
- 'app/helpers/oc_avatar_helper.rb'
- 'app/models/topic.rb'
# Offense count: 30
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Enabled: false
# Offense count: 1
Style/MixinUsage:
Exclude:
- 'bin/update'
# Offense count: 11
# Cop supports --auto-correct.
# Configuration parameters: AllowMultipleReturnValues.
Style/RedundantReturn:
Exclude:
- 'app/controllers/images_controller.rb'
- 'lib/search_parser.rb'