forked from manyfold3d/manyfold
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
98 lines (85 loc) · 2.95 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2023-03-11 17:52:00 UTC using RuboCop version 1.44.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: 6
RSpec/BeforeAfterAll:
Exclude:
- "spec/jobs/library_scan_job_spec.rb"
- "spec/jobs/model_file_scan_job_spec.rb"
- "spec/jobs/model_scan_job_spec.rb"
- "spec/requests/creators_request_spec.rb"
- "spec/requests/collections_request_spec.rb"
- "spec/requests/libraries_request_spec.rb"
- "spec/requests/models_request_spec.rb"
# Offense count: 3
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Exclude:
- "spec/jobs/model_scan_job_spec.rb"
- "spec/models/model_spec.rb"
# Offense count: 7
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 11
# Offense count: 26
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
- "spec/models/model_spec.rb"
- "spec/requests/models_request_spec.rb"
# Offense count: 19
RSpec/MultipleExpectations:
Max: 5
# Offense count: 28
RSpec/PendingWithoutReason:
Enabled: false
# Offense count: 1
# Configuration parameters: Include.
# Include: db/migrate/*.rb
Rails/CreateTableWithTimestamps:
Exclude:
- "db/migrate/20220612220116_create_active_storage_variant_records.active_storage.rb"
# Offense count: 2
Rails/I18nLocaleTexts:
Exclude:
- "app/admin/delayed_job.rb"
# Offense count: 1
# Configuration parameters: Include.
# Include: db/migrate/*.rb
Rails/NotNullColumn:
Exclude:
- "db/migrate/20220614211256_add_username_to_users.rb"
# Offense count: 4
Rails/OutputSafety:
Exclude:
- "app/admin/delayed_job.rb"
- "app/helpers/application_helper.rb"
- "config/initializers/field_with_errors.rb"
# Offense count: 1
# Configuration parameters: Include.
# Include: db/**/*.rb
Rails/ReversibleMigration:
Exclude:
- "db/migrate/20220106220519_remove_images_table.rb"
- "db/migrate/20230313000001_change_pagination_settings_on_user.rb"
# Offense count: 2
# Configuration parameters: ForbiddenMethods, AllowedMethods.
# ForbiddenMethods: decrement!, decrement_counter, increment!, increment_counter, insert, insert!, insert_all, insert_all!, toggle!, touch, touch_all, update_all, update_attribute, update_column, update_columns, update_counters, upsert, upsert_all
Rails/SkipsModelValidations:
Exclude:
- "app/admin/delayed_job.rb"
- "db/migrate/20220612220115_add_service_name_to_active_storage_blobs.active_storage.rb"
# Offense count: 4
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/UniqueValidationWithoutIndex:
Exclude:
- "app/models/library.rb"
- "app/models/model.rb"
- "app/models/model_file.rb"
- "app/models/problem.rb"