-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
126 lines (109 loc) · 3.76 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-08-12 20:10:38 UTC using RuboCop version 1.65.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: 3
GraphQL/ArgumentDescription:
Exclude:
- 'app/graphql/types/query_type.rb'
# Offense count: 28
GraphQL/FieldDescription:
Exclude:
- 'app/graphql/types/details_type.rb'
- 'app/graphql/types/search_event_type.rb'
- 'app/graphql/types/standard_identifiers_type.rb'
- 'app/graphql/types/term_type.rb'
# Offense count: 1
# Configuration parameters: Include.
# Include: **/graphql/**/*_schema.rb
GraphQL/MaxComplexitySchema:
Exclude:
- 'app/graphql/tacos_schema.rb'
# Offense count: 1
# Configuration parameters: Include.
# Include: **/graphql/**/*_schema.rb
GraphQL/MaxDepthSchema:
Exclude:
- 'app/graphql/tacos_schema.rb'
# Offense count: 7
GraphQL/ObjectDescription:
Exclude:
- 'app/graphql/mutations/base_mutation.rb'
- 'app/graphql/tacos_schema.rb'
- 'app/graphql/types/base_argument.rb'
- 'app/graphql/types/base_connection.rb'
- 'app/graphql/types/base_edge.rb'
- 'app/graphql/types/base_enum.rb'
- 'app/graphql/types/base_field.rb'
- 'app/graphql/types/base_input_object.rb'
- 'app/graphql/types/base_interface.rb'
- 'app/graphql/types/base_object.rb'
- 'app/graphql/types/base_scalar.rb'
- 'app/graphql/types/base_union.rb'
- 'app/graphql/types/details_type.rb'
- 'app/graphql/types/mutation_type.rb'
- 'app/graphql/types/node_type.rb'
- 'app/graphql/types/query_type.rb'
- 'app/graphql/types/search_event_type.rb'
- 'app/graphql/types/standard_identifiers_type.rb'
- 'app/graphql/types/term_type.rb'
# Offense count: 1
Lint/DuplicateMethods:
Exclude:
- 'app/graphql/types/query_type.rb'
# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AutoCorrect.
Lint/UselessMethodDefinition:
Exclude:
- 'app/graphql/tacos_schema.rb'
# Offense count: 1
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 18
# Offense count: 2
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 60
# Offense count: 4
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 16
# Offense count: 1
Minitest/AssertRaisesCompoundBody:
Exclude:
- 'test/tasks/suggested_resource_rake_test.rb'
# Offense count: 2
Minitest/MultipleAssertions:
Max: 5
# Offense count: 6
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
# SupportedStyles: snake_case, normalcase, non_integer
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
Naming/VariableNumber:
Exclude:
- 'test/models/metrics/algorithms_test.rb'
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Performance/StringReplacement:
Exclude:
- 'lib/tasks/suggested_resources.rake'
# Offense count: 3
Rails/I18nLocaleTexts:
Exclude:
- 'app/controllers/admin/application_controller.rb'
- 'app/controllers/application_controller.rb'
# Offense count: 25
# Configuration parameters: AllowedConstants.
Style/Documentation:
Enabled: false
# Offense count: 6
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 310