-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
122 lines (102 loc) · 3.32 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
111
112
113
114
115
116
117
118
119
120
121
122
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 1000`
# on 2024-11-09 21:50:10 UTC using RuboCop version 1.68.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
# This cop supports safe autocorrection (--autocorrect).
Lint/RedundantCopDisableDirective:
Exclude:
- 'config/initializers/simple_form.rb'
- 'config/initializers/simple_form_bootstrap.rb'
# Offense count: 1
Lint/UnreachableCode:
Exclude:
- 'lib/tasks/upload.rake'
# Offense count: 26
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 72
# Offense count: 5
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 222
# Offense count: 1
# Configuration parameters: LengthThreshold.
Metrics/CollectionLiteralLength:
Exclude:
- 'spec/services/stats_service_spec.rb'
# Offense count: 5
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/CyclomaticComplexity:
Max: 20
# Offense count: 21
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 38
# Offense count: 1
# Configuration parameters: CountComments, CountAsOne.
Metrics/ModuleLength:
Max: 107
# Offense count: 1
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
Metrics/ParameterLists:
Max: 14
# Offense count: 4
# Configuration parameters: AllowedMethods, AllowedPatterns.
Metrics/PerceivedComplexity:
Max: 20
# Offense count: 1
Naming/ConstantName:
Exclude:
- 'app/models/config/serializer.rb'
# Offense count: 1
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
Exclude:
- 'app/listeners/the_movie_db/video_listener.rb'
# Offense count: 8
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 13
# Offense count: 11
RSpec/MultipleExpectations:
Max: 3
# Offense count: 6
# Configuration parameters: AllowSubject, Max.
RSpec/MultipleMemoizedHelpers:
Exclude:
- 'spec/workers/rip_worker_spec.rb'
# Offense count: 1
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
# SupportedStyles: always, named_only
RSpec/NamedSubject:
Exclude:
- 'spec/models/video_blob_spec.rb'
# Offense count: 1
RSpec/SubjectStub:
Exclude:
- 'spec/listeners/disk_listener_spec.rb'
# Offense count: 8
Rails/I18nLocaleTexts:
Exclude:
- 'app/controllers/config/make_mkvs_controller.rb'
- 'app/controllers/config/plexes_controller.rb'
- 'app/controllers/config/slacks_controller.rb'
- 'app/controllers/users_controller.rb'
- 'app/models/config/slack.rb'
# Offense count: 5
# Configuration parameters: Max.
Style/SafeNavigationChainLength:
Exclude:
- 'app/controllers/start_controller.rb'
- 'app/services/key_parser_service.rb'
# Offense count: 28
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 234