forked from antek-drzewiecki/wine_bouncer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
162 lines (142 loc) · 5.31 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-04-26 07:18:08 UTC using RuboCop version 1.28.2.
# 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
# This cop supports safe auto-correction (--auto-correct).
# Configuration parameters: EnforcedStyle, IndentationWidth.
# SupportedStyles: aligned, indented
Layout/MultilineOperationIndentation:
Exclude:
- 'lib/wine_bouncer/auth_strategies/default.rb'
# Offense count: 5
Lint/DuplicateMethods:
Exclude:
- 'lib/wine_bouncer/configuration.rb'
# Offense count: 1
# This cop supports safe auto-correction (--auto-correct).
# Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
Lint/UselessAccessModifier:
Exclude:
- 'lib/wine_bouncer/configuration.rb'
# Offense count: 1
Naming/AccessorMethodName:
Exclude:
- 'lib/wine_bouncer/oauth2.rb'
# Offense count: 7
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
# NamePrefix: is_, has_, have_
# ForbiddenPrefixes: is_, has_, have_
# AllowedMethods: is_a?
# MethodDefinitionMacros: define_method, define_singleton_method
Naming/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: 2
RSpec/BeforeAfterAll:
Exclude:
- 'spec/intergration/oauth2_protected_strategy_spec.rb'
# Offense count: 2
# This cop supports safe auto-correction (--auto-correct).
# Configuration parameters: Include.
# Include: spec/factories.rb, spec/factories/**/*.rb, features/support/factories/**/*.rb
RSpec/FactoryBot/FactoryClassName:
Exclude:
- 'spec/factories/access_token.rb'
- 'spec/factories/application.rb'
# Offense count: 5
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
# Include: **/*_spec*rb*, **/spec/**/*
RSpec/FilePath:
Exclude:
- 'spec/intergration/oauth2_default_strategy_spec.rb'
- 'spec/intergration/oauth2_protected_strategy_spec.rb'
- 'spec/intergration/oauth2_swagger_strategy_spec.rb'
- 'spec/lib/generators/wine_bouncer/initializer_generator_spec.rb'
- 'spec/lib/wine_bouncer/auth_methods/auth_methods_spec.rb'
# Offense count: 3
# This cop supports safe auto-correction (--auto-correct).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, each, example
RSpec/HookArgument:
Exclude:
- 'spec/intergration/oauth2_default_strategy_spec.rb'
- 'spec/intergration/oauth2_protected_strategy_spec.rb'
- 'spec/intergration/oauth2_swagger_strategy_spec.rb'
# Offense count: 2
RSpec/RepeatedExample:
Exclude:
- 'spec/intergration/oauth2_protected_strategy_spec.rb'
# Offense count: 1
# This cop supports safe auto-correction (--auto-correct).
# Configuration parameters: EnforceForPrefixed.
Rails/Delegate:
Exclude:
- 'lib/wine_bouncer/oauth2.rb'
# Offense count: 1
# Configuration parameters: EnforcedStyle.
# SupportedStyles: slashes, arguments
Rails/FilePath:
Exclude:
- 'spec/shared/orm/active_record.rb'
# Offense count: 41
# This cop supports safe auto-correction (--auto-correct).
# Configuration parameters: Include.
# Include: spec/**/*, test/**/*
Rails/HttpPositionalArguments:
Exclude:
- 'spec/intergration/oauth2_default_strategy_spec.rb'
- 'spec/intergration/oauth2_protected_strategy_spec.rb'
- 'spec/intergration/oauth2_swagger_strategy_spec.rb'
# Offense count: 2
# This cop supports safe auto-correction (--auto-correct).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: separated, grouped
Style/AccessorGrouping:
Exclude:
- 'lib/wine_bouncer/configuration.rb'
# Offense count: 1
# This cop supports safe auto-correction (--auto-correct).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: allowed_in_returns, forbidden
Style/DoubleNegation:
Exclude:
- 'lib/wine_bouncer/auth_strategies/default.rb'
# Offense count: 1
# This cop supports safe auto-correction (--auto-correct).
Style/EmptyLambdaParameter:
Exclude:
- 'lib/wine_bouncer/configuration.rb'
# Offense count: 1
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
Style/GuardClause:
Exclude:
- 'lib/wine_bouncer/oauth2.rb'
# Offense count: 1
# This cop supports safe auto-correction (--auto-correct).
# Configuration parameters: EnforcedStyle, AllowedCompactTypes.
# SupportedStyles: compact, exploded
Style/RaiseArgs:
Exclude:
- 'lib/wine_bouncer/configuration.rb'
# Offense count: 2
# This cop supports safe auto-correction (--auto-correct).
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
# AllowedMethods: present?, blank?, presence, try, try!
Style/SafeNavigation:
Exclude:
- 'lib/wine_bouncer/auth_strategies/protected.rb'
- 'lib/wine_bouncer/oauth2.rb'
# Offense count: 1
# This cop supports unsafe auto-correction (--auto-correct-all).
# Configuration parameters: AllowMethodsWithArguments, IgnoredMethods, AllowComments.
# IgnoredMethods: respond_to, define_method
Style/SymbolProc:
Exclude:
- 'lib/wine_bouncer/extension.rb'