-
Notifications
You must be signed in to change notification settings - Fork 194
/
.rubocop_todo.yml
103 lines (88 loc) · 2.64 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-10-14 13:59:37 -0500 using RuboCop version 0.50.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: 2
Lint/HandleExceptions:
Exclude:
- 'shoes-core/lib/shoes/packager.rb'
- 'app/shoes_app.rb'
# Offense count: 1
Lint/NestedMethodDefinition:
Exclude:
- 'shoes-core/lib/shoes/dialog.rb'
# Offense count: 10
Lint/RescueWithoutErrorClass:
Exclude:
- 'samples/expert_othello.rb'
- 'shoes-core/lib/shoes/common/safely_evaluate.rb'
- 'shoes-core/lib/shoes/download.rb'
- 'shoes-core/lib/shoes/packager.rb'
- 'shoes-core/lib/shoes/slot.rb'
- 'shoes-package/lib/shoes/package/configuration.rb'
- 'shoes-swt/lib/shoes/swt/common/image_handling.rb'
- 'shoes-swt/lib/shoes/swt/common/painter.rb'
- 'shoes-swt/lib/shoes/swt/sound.rb'
# Offense count: 83
Metrics/AbcSize:
Max: 84
Exclude:
- "shoes-swt/lib/shoes/swt.rb"
# Offense count: 233
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
Max: 648
Exclude:
- 'shoes-core/spec/**/*.rb'
- 'shoes-swt/spec/**/*.rb'
# Offense count: 16
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 250
Exclude:
- 'shoes-core/lib/shoes/slot.rb'
# Offense count: 10
Metrics/CyclomaticComplexity:
Max: 14
# Offense count: 539
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 979
# Offense count: 93
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 85
Exclude:
- "shoes-swt/lib/shoes/swt.rb"
# Offense count: 3
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 157
# Offense count: 10
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 7
# Offense count: 7
Metrics/PerceivedComplexity:
Max: 15
# Offense count: 15
Naming/AccessorMethodName:
Exclude:
- 'shoes-core/lib/shoes/common/style.rb'
- 'shoes-core/lib/shoes/internal_app.rb'
- 'shoes-swt/lib/shoes/swt/common/resource.rb'
- 'shoes-swt/lib/shoes/swt/text_block.rb'
- 'shoes-swt/lib/shoes/swt/text_block/text_style_factory.rb'
# Offense count: 277
Style/Documentation:
Enabled: false
# Offense count: 3
Style/MethodMissing:
Exclude:
- 'shoes-core/lib/shoes/app.rb'
- 'shoes-core/lib/shoes/list_box.rb'
- 'shoes-swt/lib/shoes/swt/disposed_protection.rb'