-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
134 lines (118 loc) · 4.34 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-12-11 10:41:58 UTC using RuboCop version 1.40.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: 7
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyleAlignWith, Severity.
# SupportedStylesAlignWith: keyword, variable, start_of_line
Layout/EndAlignment:
Exclude:
- 'app/controllers/graphql_controller.rb'
- 'app/graphql/mutations/setup/dropzones/create_weather_condition.rb'
- 'app/graphql/mutations/setup/dropzones/update_dropzone.rb'
- 'app/graphql/mutations/setup/equipment/create_rig.rb'
- 'app/graphql/types/interaction_mutation_interface.rb'
- 'app/graphql/types/wallet_type.rb'
- 'app/interactions/manifest/create_slot.rb'
# Offense count: 32
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 1412
# Offense count: 9
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Exclude:
- 'app/graphql/types/dropzone_type.rb'
- 'app/graphql/types/interaction_mutation_interface.rb'
- 'app/interactions/federations/apf_sync.rb'
- 'app/interactions/login/apple.rb'
- 'app/interactions/login/facebook.rb'
- 'app/jobs/notify_job.rb'
- 'app/jobs/request_rig_inspection_job.rb'
- 'app/models/user.rb'
- 'db/migrate/20221206095124_add_service_name_to_active_storage_blobs.active_storage.rb'
# Offense count: 1
# Configuration parameters: AllowedMethods.
# AllowedMethods: enums
Lint/ConstantDefinitionInBlock:
Exclude:
- 'spec/interactions/active_interaction_spec.rb'
# Offense count: 7
# Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
Lint/DuplicateBranch:
Exclude:
- 'app/graphql/mutations/manifest/create_slots.rb'
- 'app/graphql/mutations/users/delete_user.rb'
- 'app/graphql/types/interaction_mutation_interface.rb'
- 'app/interactions/transactions/purchase.rb'
- 'app/interactions/users/update_user.rb'
- 'app/models/transaction.rb'
- 'spec/factories/ticket_types.rb'
# Offense count: 1
Lint/DuplicateElsifCondition:
Exclude:
- 'app/graphql/mutations/manifest/create_slots.rb'
# Offense count: 2
# Configuration parameters: AllowComments, AllowEmptyLambdas.
Lint/EmptyBlock:
Exclude:
- 'app/models/concerns/state_machines/load_state.rb'
- 'spec/models/user_spec.rb'
# Offense count: 3
# Configuration parameters: AllowComments.
Lint/EmptyFile:
Exclude:
- 'spec/graphql/mutations/manifest/update_load_spec.rb'
- 'spec/models/load_spec.rb'
- 'spec/models/plane_spec.rb'
# Offense count: 2
Lint/ShadowingOuterLocalVariable:
Exclude:
- 'app/interactions/demo/generators/users.rb'
- 'app/interactions/login/apple.rb'
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, BlockForwardingName.
# SupportedStyles: anonymous, explicit
Naming/BlockForwarding:
Exclude:
- 'app/interactions/application_interaction/analytics/app_signal.rb'
# Offense count: 2
# Configuration parameters: EnforcedStyle, AllowedIdentifiers, AllowedPatterns.
# SupportedStyles: snake_case, camelCase
Naming/VariableName:
Exclude:
- 'app/models/dropzone_user.rb'
# Offense count: 5
# Configuration parameters: MinSize.
Performance/CollectionLiteralInLoop:
Exclude:
- 'app/interactions/demo/generators/users.rb'
- 'db/seeds/demo.rb'
# Offense count: 1
# Configuration parameters: Include.
# Include: db/migrate/*.rb
Rails/CreateTableWithTimestamps:
Exclude:
- 'db/migrate/20221206095125_create_active_storage_variant_records.active_storage.rb'
# Offense count: 2
Rails/I18nLocaleTexts:
Exclude:
- 'app/models/load.rb'
# Offense count: 1
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/UniqueValidationWithoutIndex:
Exclude:
- 'app/models/dropzone_user.rb'
# Offense count: 1
Rails/WhereNotWithMultipleConditions:
Exclude:
- 'app/models/slot.rb'