-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
188 lines (160 loc) · 5.18 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-04-30 01:03:37 UTC using RuboCop version 1.50.2.
# 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: 3
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
Bundler/OrderedGems:
Exclude:
- 'Gemfile'
# Offense count: 6
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowForAlignment.
Layout/CommentIndentation:
Exclude:
- 'config/initializers/content_security_policy.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
# SupportedStyles: space, no_space, compact
# SupportedStylesForEmptyBrackets: space, no_space
Layout/SpaceInsideArrayLiteralBrackets:
Exclude:
- 'config/environments/production.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: final_newline, final_blank_line
Layout/TrailingEmptyLines:
Exclude:
- 'Gemfile'
# Offense count: 1
Lint/MissingSuper:
Exclude:
- 'app/components/wrapper_component.rb'
# Offense count: 1
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 37
# Offense count: 1
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 53
Exclude:
- 'spec/models/*'
- 'spec/jobs/*'
- 'lib/tasks/import.rake'
# Offense count: 1
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 18
Exclude:
- 'app/lib/publisher.rb'
- 'app/lib/next_leg.rb'
# Offense count: 8
# Configuration parameters: AllowedConstants.
Style/Documentation:
Exclude:
- 'app/components/wrapper_component.rb'
- 'app/controllers/page_controller.rb'
- 'app/helpers/application_helper.rb'
- 'app/helpers/page_helper.rb'
- 'app/mailers/application_mailer.rb'
- 'app/models/application_record.rb'
- 'config/application.rb'
- 'config/initializers/render_monkeypatch.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: compact, expanded
Style/EmptyMethod:
Exclude:
- 'app/controllers/page_controller.rb'
# Offense count: 30
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Enabled: false
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/GlobalStdStream:
Exclude:
- 'config/environments/production.rb'
# Offense count: 80
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Enabled: false
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: .
# SupportedStyles: percent, brackets
Style/SymbolArray:
EnforcedStyle: percent
MinSize: 10
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 127
Exclude:
- 'spec/jobs/tweets/*'
- 'spec/jobs/images/*'
- 'spec/models/*'
- 'app/controllers/webhooks/midjourney_controller.rb'
- 'lib/tasks/blueprints.rake'
Rails/FilePath:
Exclude:
- 'config/initializers/apipie.rb'
-
Metrics/ParameterLists:
Exclude:
- 'app/mailers/admin_mailer.rb'
Rails/OutputSafety:
Exclude:
- 'app/helpers/devise_helper.rb'
- 'app/helpers/application_helper.rb'
Rails/UniqueValidationWithoutIndex:
Exclude:
- 'app/models/assignment.rb'
- 'app/models/story_tag.rb'
- 'app/models/tagging.rb'
Rails/SkipsModelValidations:
Exclude:
- 'lib/tasks/stories.rake'
- 'lib/tasks/blueprints.rake'
Naming/VariableNumber:
Exclude:
- 'spec/models/*'
Metrics/CyclomaticComplexity:
Exclude:
- 'app/controllers/tweets_controller.rb'
- 'app/controllers/instapins_controller.rb'
- 'app/controllers/stories_controller.rb'
Metrics/PerceivedComplexity:
Exclude:
- 'app/controllers/tweets_controller.rb'
- 'app/controllers/instapins_controller.rb'
- 'app/controllers/stories_controller.rb'
Rails/HasAndBelongsToMany:
Exclude:
- 'app/models/character.rb'
- 'app/models/archetype.rb'
- 'app/models/character_type.rb'
- 'app/models/moral_alignment.rb'
- 'app/models/personality_trait.rb'
Style/MutableConstant:
Exclude:
- 'bin/setup'
Style/ClassAndModuleChildren:
Exclude:
- 'app/controllers/writing_style/versions_controller.rb'