1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2016-06-08 15:50:57 -0700 using RuboCop version 0.37.2.
3
+ # on 2016-06-08 18:56:38 -0700 using RuboCop version 0.37.2.
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
@@ -11,34 +11,12 @@ Lint/AmbiguousRegexpLiteral:
11
11
Exclude :
12
12
- ' spec/integration/selenium/webdriver/firefox/marionette_spec.rb'
13
13
14
- # Offense count: 12
15
- # Configuration parameters: AllowSafeAssignment.
16
- Lint/AssignmentInCondition :
17
- Exclude :
18
- - ' lib/selenium/webdriver/common/bridge_helper.rb'
19
- - ' lib/selenium/webdriver/common/options.rb'
20
- - ' lib/selenium/webdriver/common/search_context.rb'
21
- - ' lib/selenium/webdriver/firefox/binary.rb'
22
- - ' lib/selenium/webdriver/firefox/profiles_ini.rb'
23
- - ' lib/selenium/webdriver/remote/bridge.rb'
24
- - ' lib/selenium/webdriver/remote/http/default.rb'
25
- - ' lib/selenium/webdriver/remote/http/persistent.rb'
26
- - ' lib/selenium/webdriver/remote/response.rb'
27
- - ' lib/selenium/webdriver/safari/server.rb'
28
-
29
14
# Offense count: 2
30
15
# Cop supports --auto-correct.
31
16
Lint/DeprecatedClassMethods :
32
17
Exclude :
33
18
- ' lib/selenium/server.rb'
34
19
35
- # Offense count: 1
36
- # Cop supports --auto-correct.
37
- # Configuration parameters: AlignWith, SupportedStyles, AutoCorrect.
38
- # SupportedStyles: keyword, variable, start_of_line
39
- Lint/EndAlignment :
40
- Enabled : false
41
-
42
20
# Offense count: 10
43
21
Lint/HandleExceptions :
44
22
Exclude :
@@ -51,11 +29,6 @@ Lint/HandleExceptions:
51
29
- ' lib/selenium/webdriver/remote/w3c_bridge.rb'
52
30
- ' spec/integration/selenium/webdriver/spec_support/test_environment.rb'
53
31
54
- # Offense count: 1
55
- Lint/IneffectiveAccessModifier :
56
- Exclude :
57
- - ' lib/selenium/server.rb'
58
-
59
32
# Offense count: 5
60
33
# Cop supports --auto-correct.
61
34
# Configuration parameters: IgnoreEmptyBlocks.
@@ -95,19 +68,19 @@ Metrics/AbcSize:
95
68
# Offense count: 13
96
69
# Configuration parameters: CountComments.
97
70
Metrics/ClassLength :
98
- Max : 428
71
+ Max : 427
99
72
100
73
# Offense count: 24
101
74
Metrics/CyclomaticComplexity :
102
- Max : 17
75
+ Max : 16
103
76
104
- # Offense count: 721
77
+ # Offense count: 717
105
78
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
106
79
# URISchemes: http, https
107
80
Metrics/LineLength :
108
81
Max : 318
109
82
110
- # Offense count: 62
83
+ # Offense count: 61
111
84
# Configuration parameters: CountComments.
112
85
Metrics/MethodLength :
113
86
Max : 37
@@ -119,7 +92,7 @@ Metrics/ModuleLength:
119
92
120
93
# Offense count: 15
121
94
Metrics/PerceivedComplexity :
122
- Max : 17
95
+ Max : 16
123
96
124
97
# Offense count: 1
125
98
# Cop supports --auto-correct.
@@ -186,26 +159,6 @@ Style/AlignParameters:
186
159
- ' spec/integration/selenium/webdriver/spec_support/test_environment.rb'
187
160
- ' spec/unit/selenium/webdriver/remote/http/common_spec.rb'
188
161
189
- # Offense count: 13
190
- # Cop supports --auto-correct.
191
- # Configuration parameters: EnforcedStyle, SupportedStyles.
192
- # SupportedStyles: always, conditionals
193
- Style/AndOr :
194
- Exclude :
195
- - ' lib/selenium/webdriver/chrome.rb'
196
- - ' lib/selenium/webdriver/common/bridge_helper.rb'
197
- - ' lib/selenium/webdriver/common/driver_extensions/uploads_files.rb'
198
- - ' lib/selenium/webdriver/common/keys.rb'
199
- - ' lib/selenium/webdriver/edge.rb'
200
- - ' lib/selenium/webdriver/firefox.rb'
201
- - ' lib/selenium/webdriver/ie.rb'
202
- - ' lib/selenium/webdriver/phantomjs.rb'
203
- - ' lib/selenium/webdriver/remote/bridge.rb'
204
- - ' lib/selenium/webdriver/remote/http/common.rb'
205
- - ' lib/selenium/webdriver/remote/response.rb'
206
- - ' lib/selenium/webdriver/remote/w3c_bridge.rb'
207
- - ' lib/selenium/webdriver/support/select.rb'
208
-
209
162
# Offense count: 3
210
163
Style/AsciiComments :
211
164
Exclude :
@@ -229,13 +182,6 @@ Style/BarePercentLiterals:
229
182
Style/BlockDelimiters :
230
183
Enabled : false
231
184
232
- # Offense count: 3
233
- # Cop supports --auto-correct.
234
- # Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep, IndentationWidth.
235
- # SupportedStyles: case, end
236
- Style/CaseIndentation :
237
- Enabled : false
238
-
239
185
# Offense count: 5
240
186
# Configuration parameters: EnforcedStyle, SupportedStyles.
241
187
# SupportedStyles: nested, compact
@@ -278,17 +224,6 @@ Style/CommentIndentation:
278
224
- ' spec/integration/selenium/webdriver/spec_support/test_environment.rb'
279
225
- ' spec/integration/selenium/webdriver/target_locator_spec.rb'
280
226
281
- # Offense count: 3
282
- # Cop supports --auto-correct.
283
- # Configuration parameters: SingleLineConditionsOnly.
284
- Style/ConditionalAssignment :
285
- Exclude :
286
- - ' lib/selenium/webdriver/common/*'
287
- - ' lib/selenium/webdriver/firefox/*'
288
- - ' lib/selenium/webdriver/remote/*'
289
- - ' lib/selenium/webdriver/support/event_firing_bridge.rb'
290
- - ' spec/integration/selenium/webdriver/spec_support/rack_server.rb'
291
-
292
227
# Offense count: 1
293
228
Style/ConstantName :
294
229
Exclude :
@@ -318,19 +253,6 @@ Style/Documentation:
318
253
Style/DotPosition :
319
254
Enabled : false
320
255
321
- # Offense count: 12
322
- Style/DoubleNegation :
323
- Exclude :
324
- - ' lib/selenium/webdriver/chrome/bridge.rb'
325
- - ' lib/selenium/webdriver/common/file_reaper.rb'
326
- - ' lib/selenium/webdriver/common/platform.rb'
327
- - ' lib/selenium/webdriver/common/socket_lock.rb'
328
- - ' lib/selenium/webdriver/remote/http/curb.rb'
329
- - ' lib/selenium/webdriver/safari/options.rb'
330
- - ' spec/integration/selenium/webdriver/spec_helper.rb'
331
- - ' spec/integration/selenium/webdriver/spec_support/guards.rb'
332
- - ' spec/integration/selenium/webdriver/spec_support/test_environment.rb'
333
-
334
256
# Offense count: 17
335
257
# Cop supports --auto-correct.
336
258
# Configuration parameters: AllowAdjacentOneLineDefs.
@@ -416,21 +338,6 @@ Style/FormatString:
416
338
- ' lib/selenium/webdriver/safari/server.rb'
417
339
- ' lib/selenium/webdriver/support/color.rb'
418
340
419
- # Offense count: 14
420
- # Cop supports --auto-correct.
421
- # Configuration parameters: MaxLineLength.
422
- Style/IfUnlessModifier :
423
- Exclude :
424
- - ' lib/selenium/server.rb'
425
- - ' lib/selenium/webdriver/common/driver.rb'
426
- - ' lib/selenium/webdriver/edge/legacy_support.rb'
427
- - ' lib/selenium/webdriver/remote/bridge.rb'
428
- - ' lib/selenium/webdriver/remote/response.rb'
429
- - ' lib/selenium/webdriver/remote/w3c_bridge.rb'
430
- - ' selenium-webdriver.gemspec'
431
- - ' spec/integration/selenium/webdriver/spec_helper.rb'
432
- - ' spec/integration/selenium/webdriver/spec_support/test_environment.rb'
433
-
434
341
# Offense count: 1
435
342
# Cop supports --auto-correct.
436
343
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
@@ -446,7 +353,7 @@ Style/IndentationConsistency:
446
353
Exclude :
447
354
- ' spec/unit/selenium/webdriver/remote/http/default_spec.rb'
448
355
449
- # Offense count: 4
356
+ # Offense count: 8
450
357
# Cop supports --auto-correct.
451
358
# Configuration parameters: Width.
452
359
Style/IndentationWidth :
@@ -508,14 +415,6 @@ Style/MultilineOperationIndentation:
508
415
Style/MutableConstant :
509
416
Enabled : false
510
417
511
- # Offense count: 1
512
- # Cop supports --auto-correct.
513
- # Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
514
- # SupportedStyles: skip_modifier_ifs, always
515
- Style/Next :
516
- Exclude :
517
- - ' lib/selenium/webdriver/firefox/profile.rb'
518
-
519
418
# Offense count: 2
520
419
# Cop supports --auto-correct.
521
420
Style/Not :
@@ -695,7 +594,7 @@ Style/SpaceInsideStringInterpolation:
695
594
Style/SpecialGlobalVars :
696
595
EnforcedStyle : use_perl_names
697
596
698
- # Offense count: 1418
597
+ # Offense count: 1417
699
598
# Cop supports --auto-correct.
700
599
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
701
600
# SupportedStyles: single_quotes, double_quotes
0 commit comments