forked from davidsiaw/sumomo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
169 lines (144 loc) · 3.89 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-11-05 10:31:48 +0900 using RuboCop version 0.76.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: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity.
# SupportedStylesAlignWith: keyword, variable, start_of_line
Layout/EndAlignment:
Exclude:
- 'exe/sumomo'
- 'lib/sumomo/ec2.rb'
- 'lib/sumomo/ecs.rb'
# Offense count: 3
Lint/AmbiguousBlockAssociation:
Exclude:
- 'lib/sumomo/ec2.rb'
- 'lib/sumomo/ecs.rb'
# Offense count: 2
Lint/ParenthesesAsGroupedExpression:
Exclude:
- 'lib/sumomo/api.rb'
# Offense count: 11
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
Lint/UnusedMethodArgument:
Exclude:
- 'lib/sumomo.rb'
- 'lib/sumomo/ec2.rb'
# Offense count: 3
Lint/UselessAssignment:
Exclude:
- 'exe/sumomo'
- 'lib/sumomo/ecs.rb'
- 'lib/sumomo/stack.rb'
# Offense count: 15
Metrics/AbcSize:
Max: 137
# Offense count: 10
# Configuration parameters: CountComments, ExcludedMethods.
# ExcludedMethods: refine
Metrics/BlockLength:
Max: 146
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 101
# Offense count: 5
Metrics/CyclomaticComplexity:
Max: 19
# Offense count: 19
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/MethodLength:
Max: 213
# Offense count: 6
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 423
# Offense count: 9
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 27
# Offense count: 6
Metrics/PerceivedComplexity:
Max: 19
# Offense count: 1
Naming/AccessorMethodName:
Exclude:
- 'lib/sumomo/ec2.rb'
# Offense count: 2
# Configuration parameters: EnforcedStyle.
# SupportedStyles: snake_case, normalcase, non_integer
Naming/VariableNumber:
Exclude:
- 'lib/sumomo/ec2.rb'
# Offense count: 2
Security/Eval:
Exclude:
- 'exe/sumomo'
# Offense count: 1
Style/CommentedKeyword:
Exclude:
- 'lib/sumomo/ecs.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment:
Exclude:
- 'lib/sumomo/ecs.rb'
# Offense count: 14
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/sumomo.rb'
- 'lib/sumomo/api.rb'
- 'lib/sumomo/cdn.rb'
- 'lib/sumomo/dns.rb'
- 'lib/sumomo/ec2.rb'
- 'lib/sumomo/ecs.rb'
- 'lib/sumomo/momo_extensions/resource.rb'
- 'lib/sumomo/momo_extensions/stack.rb'
- 'lib/sumomo/network.rb'
- 'lib/sumomo/stack.rb'
# Offense count: 3
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'lib/sumomo.rb'
- 'sumomo.gemspec'
# Offense count: 5
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Exclude:
- 'lib/sumomo/ec2.rb'
- 'lib/sumomo/ecs.rb'
- 'lib/sumomo/network.rb'
# Offense count: 1
Style/MethodMissingSuper:
Exclude:
- 'lib/sumomo.rb'
# Offense count: 2
Style/MissingRespondToMissing:
Exclude:
- 'lib/sumomo.rb'
- 'lib/sumomo/api.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
# SupportedStyles: predicate, comparison
Style/NumericPredicate:
Exclude:
- 'spec/**/*'
- 'lib/sumomo/ec2.rb'
# Offense count: 71
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 153