-
Notifications
You must be signed in to change notification settings - Fork 137
/
.rubocop_todo.yml
145 lines (126 loc) · 3.61 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-02-13 12:45:14 +0100 using RuboCop version 0.47.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: 2
Lint/AmbiguousRegexpLiteral:
Exclude:
- 'test/test_client_create.rb'
- 'test/test_client_init.rb'
# Offense count: 29
Metrics/AbcSize:
Max: 36
# Offense count: 10
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 293
# Offense count: 8
Metrics/CyclomaticComplexity:
Max: 13
# Offense count: 54
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 167
# Offense count: 59
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 32
# Offense count: 7
Metrics/PerceivedComplexity:
Max: 13
# Offense count: 3
Style/ClassVars:
Exclude:
- 'lib/parse/client.rb'
- 'test/helper.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/EmptyLines:
Exclude:
- 'test/test_batch.rb'
# Offense count: 39
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, AutoCorrectEncodingComment.
# SupportedStyles: when_needed, always, never
Style/Encoding:
Enabled: false
# Offense count: 1
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'lib/parse/query.rb'
# Offense count: 2
Style/MethodMissing:
Exclude:
- 'lib/parse/datatypes.rb'
# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: symmetrical, new_line, same_line
Style/MultilineArrayBraceLayout:
Exclude:
- 'lib/faraday/better_retry.rb'
- 'lib/parse/protocol.rb'
- 'test/test_client_create.rb'
- 'test/test_client_init.rb'
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: symmetrical, new_line, same_line
Style/MultilineHashBraceLayout:
Exclude:
- 'lib/parse/query.rb'
- 'test/test_client_create.rb'
- 'test/test_client_init.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/MultilineIfModifier:
Exclude:
- 'test/helper.rb'
# Offense count: 16
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: symmetrical, new_line, same_line
Style/MultilineMethodCallBraceLayout:
Exclude:
- 'example.rb'
- 'lib/parse/batch.rb'
- 'lib/parse/query.rb'
- 'lib/parse/user.rb'
- 'lib/parse/util.rb'
- 'test/helper.rb'
- 'test/test_batch.rb'
- 'test/test_client_init.rb'
- 'test/test_file.rb'
- 'test/test_object.rb'
- 'test/test_query.rb'
# Offense count: 43
# Cop supports --auto-correct.
Style/MutableConstant:
Exclude:
- 'lib/parse/client.rb'
- 'lib/parse/installation.rb'
- 'lib/parse/protocol.rb'
- 'lib/parse/version.rb'
- 'test/test_query.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Exclude:
- 'spec/**/*'
- 'test/helper.rb'
# Offense count: 20
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: snake_case, normalcase, non_integer
Style/VariableNumber:
Exclude:
- 'test/test_datatypes.rb'
- 'test/test_file.rb'
- 'test/test_object.rb'
- 'test/test_query.rb'