forked from undergroundwebdesigns/pg_search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
153 lines (135 loc) · 4.61 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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-07-21 13:18:24 -0500 using RuboCop version 0.49.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: 26
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
Layout/IndentArray:
EnforcedStyle: consistent
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: aligned, indented, indented_relative_to_receiver
Layout/MultilineMethodCallIndentation:
Exclude:
- 'spec/integration/pg_search_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
Layout/SpaceAfterComma:
Exclude:
- 'lib/pg_search/configuration.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: space, no_space
Layout/SpaceAroundEqualsInParameterDefault:
Exclude:
- 'lib/pg_search/multisearch.rb'
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: space, no_space
Layout/SpaceBeforeBlockBraces:
Exclude:
- 'lib/pg_search/features/tsearch.rb'
- 'spec/integration/pg_search_spec.rb'
# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces, SpaceBeforeBlockParameters.
# SupportedStyles: space, no_space
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceInsideBlockBraces:
Exclude:
- 'lib/pg_search/features/tsearch.rb'
- 'spec/integration/pg_search_spec.rb'
- 'spec/lib/pg_search_spec.rb'
# Offense count: 86
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces.
# SupportedStyles: space, no_space, compact
# SupportedStylesForEmptyBraces: space, no_space
Layout/SpaceInsideHashLiteralBraces:
Exclude:
- 'lib/pg_search.rb'
- 'lib/pg_search/configuration.rb'
- 'lib/pg_search/document.rb'
- 'spec/integration/associations_spec.rb'
- 'spec/integration/pg_search_spec.rb'
- 'spec/lib/pg_search/configuration/association_spec.rb'
- 'spec/lib/pg_search/configuration/foreign_column_spec.rb'
- 'spec/lib/pg_search/features/tsearch_spec.rb'
- 'spec/lib/pg_search/multisearchable_spec.rb'
- 'spec/lib/pg_search_spec.rb'
# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: final_newline, final_blank_line
Layout/TrailingBlankLines:
Exclude:
- 'Guardfile'
- 'lib/pg_search/migration/multisearch_generator.rb'
- 'lib/pg_search/multisearch.rb'
- 'spec/integration/single_table_inheritance_spec.rb'
# Offense count: 1
# Cop supports --auto-correct.
Performance/Casecmp:
Exclude:
- 'spec/support/database.rb'
# Offense count: 27
Style/Documentation:
Enabled: false
# Offense count: 1
Style/IfInsideElse:
Exclude:
- 'lib/pg_search/multisearchable.rb'
# Offense count: 2
# Cop supports --auto-correct.
Style/MutableConstant:
Exclude:
- 'lib/pg_search/configuration.rb'
- 'lib/pg_search/scope_options.rb'
# Offense count: 1
# Cop supports --auto-correct.
Style/PerlBackrefs:
Exclude:
- 'lib/pg_search/scope_options.rb'
# Offense count: 5
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: compact, exploded
Style/RaiseArgs:
Exclude:
- 'lib/pg_search.rb'
- 'lib/pg_search/multisearch/rebuilder.rb'
- 'lib/pg_search/scope_options.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AllowMultipleReturnValues.
Style/RedundantReturn:
Exclude:
- 'lib/pg_search/scope_options.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: IgnoredMethods.
# IgnoredMethods: respond_to, define_method
Style/SymbolProc:
Exclude:
- 'lib/pg_search/features/feature.rb'
- 'lib/pg_search/multisearch/rebuilder.rb'
# Offense count: 2
# Cop supports --auto-correct.
Style/UnneededPercentQ:
Exclude:
- 'pg_search.gemspec'
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: SupportedStyles, WordRegex.
# SupportedStyles: percent, brackets
Style/WordArray:
EnforcedStyle: percent
MinSize: 3