-
Notifications
You must be signed in to change notification settings - Fork 2
/
.rubocop_todo.yml
150 lines (132 loc) · 5 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-04-29 19:36:44 -0300 using RuboCop version 0.48.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: 1
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/models/attachy/viewer/link_spec.rb'
# Offense count: 1
Lint/ShadowingOuterLocalVariable:
Exclude:
- 'lib/attachy/models/attachy/extension.rb'
# Offense count: 1
# Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
Lint/UselessAccessModifier:
Exclude:
- 'lib/attachy/models/attachy/extension.rb'
# Offense count: 24
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
Max: 149
# Offense count: 13
RSpec/AnyInstance:
Exclude:
- 'spec/models/attachy/viewer/image_spec.rb'
- 'spec/models/attachy/viewer/link_spec.rb'
# Offense count: 4
RSpec/DescribeMethod:
Exclude:
- 'spec/models/attachy/callback/destroy_file_spec.rb'
- 'spec/models/attachy/callback/remove_tmp_tag_spec.rb'
- 'spec/models/attachy/extension/user/avatar_spec.rb'
- 'spec/models/attachy/extension/user/photos_spec.rb'
# Offense count: 12
# Configuration parameters: Max.
RSpec/ExampleLength:
Exclude:
- 'spec/models/attachy/extension/user/avatar_spec.rb'
- 'spec/models/attachy/extension/user/photos_spec.rb'
- 'spec/models/attachy/file/transform_spec.rb'
- 'spec/models/attachy/viewer/content_options_spec.rb'
- 'spec/models/attachy/viewer/image_spec.rb'
# Offense count: 10
# Configuration parameters: CustomTransform, IgnoreMethods.
RSpec/FilePath:
Exclude:
- 'spec/builders/attachy/form_builder/attachy_content_spec.rb'
- 'spec/builders/attachy/form_builder/attachy_file_field_spec.rb'
- 'spec/builders/attachy/form_builder/attachy_spec.rb'
- 'spec/helpers/attachy/attachy_content_spec.rb'
- 'spec/helpers/attachy/attachy_file_field_spec.rb'
- 'spec/helpers/attachy/attachy_spec.rb'
- 'spec/models/attachy/callback/destroy_file_spec.rb'
- 'spec/models/attachy/callback/remove_tmp_tag_spec.rb'
- 'spec/models/attachy/file/path_spec.rb'
- 'spec/models/attachy/viewer/transform_spec.rb'
# Offense count: 21
RSpec/LetSetup:
Exclude:
- 'spec/models/attachy/callback/destroy_file_spec.rb'
- 'spec/models/attachy/extension/user/avatar_spec.rb'
- 'spec/models/attachy/extension/user/photos_spec.rb'
- 'spec/models/attachy/viewer/content_spec.rb'
- 'spec/models/attachy/viewer/field_options_spec.rb'
- 'spec/models/attachy/viewer/field_spec.rb'
- 'spec/models/attachy/viewer/file_button_options_spec.rb'
- 'spec/models/attachy/viewer/file_button_spec.rb'
- 'spec/models/attachy/viewer/file_field_options_spec.rb'
- 'spec/models/attachy/viewer/file_field_spec.rb'
- 'spec/models/attachy/viewer/hidden_field_spec.rb'
- 'spec/models/attachy/viewer/link_options_spec.rb'
- 'spec/models/attachy/viewer/node_options_spec.rb'
- 'spec/models/attachy/viewer/remove_button_options_spec.rb'
- 'spec/models/attachy/viewer/transform_spec.rb'
# Offense count: 1
RSpec/MessageChain:
Exclude:
- 'spec/models/attachy/file/default_spec.rb'
# Offense count: 22
# Configuration parameters: SupportedStyles.
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
EnforcedStyle: receive
# Offense count: 15
RSpec/MultipleExpectations:
Max: 6
# Offense count: 89
RSpec/NamedSubject:
Enabled: false
# Offense count: 24
# Configuration parameters: Max.
RSpec/NestedGroups:
Exclude:
- 'spec/models/attachy/extension/user/avatar_spec.rb'
- 'spec/models/attachy/extension/user/photos_spec.rb'
- 'spec/models/attachy/file/transform_spec.rb'
- 'spec/models/attachy/viewer/value_spec.rb'
# Offense count: 25
RSpec/SubjectStub:
Exclude:
- 'spec/models/attachy/viewer/content_options_spec.rb'
- 'spec/models/attachy/viewer/content_spec.rb'
- 'spec/models/attachy/viewer/field_spec.rb'
- 'spec/models/attachy/viewer/file_button_spec.rb'
- 'spec/models/attachy/viewer/file_field_options_spec.rb'
- 'spec/models/attachy/viewer/file_field_spec.rb'
- 'spec/models/attachy/viewer/hidden_field_spec.rb'
- 'spec/models/attachy/viewer/link_spec.rb'
- 'spec/models/attachy/viewer/nodes_spec.rb'
# Offense count: 3
# Configuration parameters: IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Exclude:
- 'spec/helpers/attachy/attachy_content_spec.rb'
- 'spec/helpers/attachy/attachy_file_field_spec.rb'
- 'spec/helpers/attachy/attachy_spec.rb'
# Offense count: 3
Rails/OutputSafety:
Exclude:
- 'lib/attachy/models/attachy/viewer.rb'
# Offense count: 2
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
# NamePrefix: is_, has_, have_
# NamePrefixBlacklist: is_, has_, have_
# NameWhitelist: is_a?
Style/PredicateName:
Exclude:
- 'spec/**/*'
- 'lib/attachy/models/attachy/extension.rb'