forked from antek-drzewiecki/wine_bouncer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
182 lines (158 loc) · 5.01 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
170
171
172
173
174
175
176
177
178
179
180
181
182
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2016-01-07 10:02:02 +0100 using RuboCop version 0.35.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
Metrics/AbcSize:
Max: 29
# Offense count: 164
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 198
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 32
# Offense count: 1
Style/AccessorMethodName:
Exclude:
- 'lib/wine_bouncer/oauth2.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/BlockComments:
Exclude:
- 'spec/spec_helper.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/CommentIndentation:
Exclude:
- 'spec/rails_helper.rb'
# Offense count: 14
# Configuration parameters: Exclude.
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'lib/generators/wine_bouncer/initializer_generator.rb'
- 'lib/wine_bouncer.rb'
- 'lib/wine_bouncer/auth_methods/auth_methods.rb'
- 'lib/wine_bouncer/auth_strategies/default.rb'
- 'lib/wine_bouncer/auth_strategies/protected.rb'
- 'lib/wine_bouncer/auth_strategies/swagger.rb'
- 'lib/wine_bouncer/base_strategy.rb'
- 'lib/wine_bouncer/configuration.rb'
- 'lib/wine_bouncer/errors.rb'
- 'lib/wine_bouncer/extension.rb'
- 'lib/wine_bouncer/oauth2.rb'
- 'lib/wine_bouncer/version.rb'
# Offense count: 6
Style/DoubleNegation:
Exclude:
- 'lib/wine_bouncer/auth_methods/auth_methods.rb'
- 'lib/wine_bouncer/auth_strategies/default.rb'
- 'lib/wine_bouncer/auth_strategies/protected.rb'
- 'lib/wine_bouncer/auth_strategies/swagger.rb'
# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/EmptyLinesAroundModuleBody:
Exclude:
- 'lib/wine_bouncer/configuration.rb'
- 'spec/dummy/app/api/default_api.rb'
- 'spec/dummy/app/api/protected_api.rb'
- 'spec/dummy/app/api/swagger_api.rb'
# Offense count: 14
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment.
Style/ExtraSpacing:
Exclude:
- 'spec/dummy/bin/rails'
- 'spec/dummy/config.ru'
- 'spec/dummy/db/migrate/20140915160601_create_doorkeeper_tables.rb'
- 'spec/dummy/db/schema.rb'
# Offense count: 1
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'lib/wine_bouncer/oauth2.rb'
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: Width.
Style/IndentationWidth:
Exclude:
- 'lib/wine_bouncer/auth_methods/auth_methods.rb'
- 'lib/wine_bouncer/auth_strategies/default.rb'
- 'lib/wine_bouncer/auth_strategies/swagger.rb'
# Offense count: 7
# Cop supports --auto-correct.
Style/LeadingCommentSpace:
Exclude:
- 'lib/wine_bouncer/oauth2.rb'
- 'spec/dummy/config/environments/test.rb'
- 'spec/intergration/oauth2_default_strategy_spec.rb'
- 'spec/intergration/oauth2_protected_strategy_spec.rb'
- 'spec/intergration/oauth2_swagger_strategy_spec.rb'
- 'spec/rails_helper.rb'
# Offense count: 21
# Cop supports --auto-correct.
Style/MethodCallParentheses:
Exclude:
- 'spec/lib/wine_bouncer/auth_strategies/default_spec.rb'
- 'spec/lib/wine_bouncer/auth_strategies/swagger_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/MethodDefParentheses:
Enabled: false
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/MultilineOperationIndentation:
Enabled: false
# Offense count: 1
# Cop supports --auto-correct.
Style/NumericLiterals:
MinDigits: 15
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
Exclude:
- 'wine_bouncer.gemspec'
# Offense count: 7
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
Style/PredicateName:
Exclude:
- 'lib/wine_bouncer/auth_methods/auth_methods.rb'
- 'lib/wine_bouncer/auth_strategies/default.rb'
- 'lib/wine_bouncer/auth_strategies/protected.rb'
- 'lib/wine_bouncer/auth_strategies/swagger.rb'
# Offense count: 1
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/RaiseArgs:
Enabled: false
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/SignalException:
Exclude:
- 'lib/wine_bouncer/oauth2.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/SpaceAfterComma:
Exclude:
- 'spec/lib/wine_bouncer/auth_strategies/swagger_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
Style/SymbolProc:
Exclude:
- 'lib/wine_bouncer/extension.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/UnneededPercentQ:
Exclude:
- 'wine_bouncer.gemspec'