1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2016-07-08 10:52:47 +0200 using RuboCop version 0.37.2 .
3
+ # on 2017-02-13 12:45:14 +0100 using RuboCop version 0.47.1 .
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
7
7
# versions of RuboCop, may require this file to be generated again.
8
8
9
- # Offense count: 28
9
+ # Offense count: 2
10
+ Lint/AmbiguousRegexpLiteral :
11
+ Exclude :
12
+ - ' test/test_client_create.rb'
13
+ - ' test/test_client_init.rb'
14
+
15
+ # Offense count: 29
10
16
Metrics/AbcSize :
11
17
Max : 36
12
18
@@ -19,13 +25,13 @@ Metrics/ClassLength:
19
25
Metrics/CyclomaticComplexity :
20
26
Max : 13
21
27
22
- # Offense count: 57
23
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
28
+ # Offense count: 54
29
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns .
24
30
# URISchemes: http, https
25
31
Metrics/LineLength :
26
32
Max : 167
27
33
28
- # Offense count: 58
34
+ # Offense count: 59
29
35
# Configuration parameters: CountComments.
30
36
Metrics/MethodLength :
31
37
Max : 32
@@ -40,6 +46,75 @@ Style/ClassVars:
40
46
- ' lib/parse/client.rb'
41
47
- ' test/helper.rb'
42
48
49
+ # Offense count: 1
50
+ # Cop supports --auto-correct.
51
+ Style/EmptyLines :
52
+ Exclude :
53
+ - ' test/test_batch.rb'
54
+
55
+ # Offense count: 39
56
+ # Cop supports --auto-correct.
57
+ # Configuration parameters: EnforcedStyle, SupportedStyles, AutoCorrectEncodingComment.
58
+ # SupportedStyles: when_needed, always, never
59
+ Style/Encoding :
60
+ Enabled : false
61
+
62
+ # Offense count: 1
63
+ # Configuration parameters: MinBodyLength.
64
+ Style/GuardClause :
65
+ Exclude :
66
+ - ' lib/parse/query.rb'
67
+
68
+ # Offense count: 2
69
+ Style/MethodMissing :
70
+ Exclude :
71
+ - ' lib/parse/datatypes.rb'
72
+
73
+ # Offense count: 4
74
+ # Cop supports --auto-correct.
75
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
76
+ # SupportedStyles: symmetrical, new_line, same_line
77
+ Style/MultilineArrayBraceLayout :
78
+ Exclude :
79
+ - ' lib/faraday/better_retry.rb'
80
+ - ' lib/parse/protocol.rb'
81
+ - ' test/test_client_create.rb'
82
+ - ' test/test_client_init.rb'
83
+
84
+ # Offense count: 3
85
+ # Cop supports --auto-correct.
86
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
87
+ # SupportedStyles: symmetrical, new_line, same_line
88
+ Style/MultilineHashBraceLayout :
89
+ Exclude :
90
+ - ' lib/parse/query.rb'
91
+ - ' test/test_client_create.rb'
92
+ - ' test/test_client_init.rb'
93
+
94
+ # Offense count: 1
95
+ # Cop supports --auto-correct.
96
+ Style/MultilineIfModifier :
97
+ Exclude :
98
+ - ' test/helper.rb'
99
+
100
+ # Offense count: 16
101
+ # Cop supports --auto-correct.
102
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
103
+ # SupportedStyles: symmetrical, new_line, same_line
104
+ Style/MultilineMethodCallBraceLayout :
105
+ Exclude :
106
+ - ' example.rb'
107
+ - ' lib/parse/batch.rb'
108
+ - ' lib/parse/query.rb'
109
+ - ' lib/parse/user.rb'
110
+ - ' lib/parse/util.rb'
111
+ - ' test/helper.rb'
112
+ - ' test/test_batch.rb'
113
+ - ' test/test_client_init.rb'
114
+ - ' test/test_file.rb'
115
+ - ' test/test_object.rb'
116
+ - ' test/test_query.rb'
117
+
43
118
# Offense count: 43
44
119
# Cop supports --auto-correct.
45
120
Style/MutableConstant :
@@ -49,3 +124,22 @@ Style/MutableConstant:
49
124
- ' lib/parse/protocol.rb'
50
125
- ' lib/parse/version.rb'
51
126
- ' test/test_query.rb'
127
+
128
+ # Offense count: 1
129
+ # Cop supports --auto-correct.
130
+ # Configuration parameters: AutoCorrect, EnforcedStyle, SupportedStyles.
131
+ # SupportedStyles: predicate, comparison
132
+ Style/NumericPredicate :
133
+ Exclude :
134
+ - ' spec/**/*'
135
+ - ' test/helper.rb'
136
+
137
+ # Offense count: 20
138
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
139
+ # SupportedStyles: snake_case, normalcase, non_integer
140
+ Style/VariableNumber :
141
+ Exclude :
142
+ - ' test/test_datatypes.rb'
143
+ - ' test/test_file.rb'
144
+ - ' test/test_object.rb'
145
+ - ' test/test_query.rb'
0 commit comments