-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
171 lines (158 loc) · 5.62 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
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 400`
# on 2024-06-14 22:20:31 UTC using RuboCop version 1.64.1.
# 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: 37
# Configuration parameters: EnforcedStyle, Include, AllowedGems.
# SupportedStyles: required, forbidden
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
Bundler/GemVersion:
Exclude:
- 'Gemfile'
# Offense count: 9
# Configuration parameters: EnforcedStyle.
# SupportedStyles: link_or_button, strict
Capybara/ClickLinkOrButtonStyle:
Exclude:
- 'spec/system/account_spec.rb'
- 'spec/system/sessions_spec.rb'
# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
Layout/EmptyLineAfterMagicComment:
Exclude:
- 'config/initializers/application_controller_renderer.rb'
- 'config/initializers/content_security_policy.rb'
- 'config/initializers/inflections.rb'
- 'config/initializers/mime_types.rb'
- 'config/initializers/permissions_policy.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Layout/SingleLineBlockChain:
Exclude:
- 'bin/spring'
- 'spec/controllers/accounts_controller_spec.rb'
# Offense count: 226
# Configuration parameters: Only, Ignore.
Lint/ConstantResolution:
Exclude:
- 'Gemfile'
- 'Guardfile'
- 'Rakefile'
- 'app/channels/application_cable/channel.rb'
- 'app/channels/application_cable/connection.rb'
- 'app/controllers/accounts_controller.rb'
- 'app/controllers/application_controller.rb'
- 'app/controllers/sessions_controller.rb'
- 'app/jobs/application_job.rb'
- 'app/mailers/application_mailer.rb'
- 'app/models/application_record.rb'
- 'app/models/user.rb'
- 'bin/bundle'
- 'bin/rails'
- 'bin/rake'
- 'bin/rspec'
- 'bin/setup'
- 'bin/spring'
- 'bin/update'
- 'bin/webpack'
- 'bin/webpack-dev-server'
- 'bin/yarn'
- 'config.ru'
- 'config/application.rb'
- 'config/boot.rb'
- 'config/environment.rb'
- 'config/environments/development.rb'
- 'config/environments/production.rb'
- 'config/environments/test.rb'
- 'config/initializers/assets.rb'
- 'config/initializers/backtrace_silencers.rb'
- 'config/initializers/cookies_serializer.rb'
- 'config/initializers/filter_parameter_logging.rb'
- 'config/initializers/wrap_parameters.rb'
- 'config/puma.rb'
- 'config/routes.rb'
- 'config/spring.rb'
- 'db/migrate/20190913200312_create_users.rb'
- 'db/schema.rb'
- 'lib/route_constraints/admin_constraint.rb'
- 'spec/channels/application_cable/channel_spec.rb'
- 'spec/channels/application_cable/connection_spec.rb'
- 'spec/controllers/accounts_controller_spec.rb'
- 'spec/controllers/application_controller_spec.rb'
- 'spec/controllers/sessions_controller_spec.rb'
- 'spec/helpers/application_helper_spec.rb'
- 'spec/jobs/application_job_spec.rb'
- 'spec/jobs/callable_job_spec.rb'
- 'spec/lib/route_constraints/admin_constraint_spec.rb'
- 'spec/mailers/application_mailer_spec.rb'
- 'spec/models/application_record_spec.rb'
- 'spec/models/nulls/null_user_spec.rb'
- 'spec/models/user_spec.rb'
- 'spec/rails_helper.rb'
- 'spec/spec_helper.rb'
- 'spec/support/capybara.rb'
- 'spec/support/capybara/rack_test.rb'
- 'spec/support/matchers.rb'
- 'spec/support/matchers/change_record.rb'
- 'spec/support/matchers/delete_record.rb'
- 'spec/support/matchers/have_error.rb'
- 'spec/support/mocks.rb'
- 'spec/support/shoulda_matchers.rb'
- 'spec/support/webmock.rb'
- 'spec/system/account_spec.rb'
- 'spec/system/sessions_spec.rb'
- 'spec/system/welcome_spec.rb'
# Offense count: 1
# Configuration parameters: Include, AllowReads, AllowWrites.
# Include: app/**/*.rb, config/initializers/**/*.rb, lib/**/*.rb
Rails/EnvironmentVariableAccess:
Exclude:
- 'config/initializers/backtrace_silencers.rb'
# Offense count: 7
Rails/I18nLocaleTexts:
Exclude:
- 'app/controllers/accounts_controller.rb'
- 'app/controllers/sessions_controller.rb'
# Offense count: 2
Rails/SchemaComment:
Exclude:
- 'db/migrate/20190913200312_create_users.rb'
- 'db/schema.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowedVars.
Style/FetchEnvVar:
Exclude:
- 'bin/spring'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/GlobalStdStream:
Exclude:
- 'config/environments/production.rb'
# Offense count: 4
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
# SupportedShorthandSyntax: always, never, either, consistent, either_consistent
Style/HashSyntax:
Exclude:
- 'app/controllers/accounts_controller.rb'
- 'spec/lib/route_constraints/admin_constraint_spec.rb'
- 'spec/support/mocks.rb'
# Offense count: 4
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: SafeForConstants.
Style/RedundantFetchBlock:
Exclude:
- 'config/puma.rb'
# Offense count: 10
Style/TopLevelMethodDefinition:
Exclude:
- 'bin/setup'
- 'bin/update'
- 'spec/spec_helper.rb'
- 'spec/support/matchers.rb'
- 'spec/support/mocks.rb'