|
1 | | -# This configuration was generated by |
2 | | -# `rubocop --auto-gen-config` |
3 | | -# on 2016-12-07 10:52:04 -0500 using RuboCop version 0.46.0. |
4 | | -# The point is for the user to remove these configuration records |
5 | | -# one by one as the offenses are removed from the code base. |
6 | | -# Note that changes in the inspected code, or installation of new |
7 | | -# versions of RuboCop, may require this file to be generated again. |
8 | | - |
9 | | -# Offense count: 1 |
10 | | -# Configuration parameters: Include. |
11 | | -# Include: **/Gemfile, **/gems.rb |
12 | | -Bundler/OrderedGems: |
13 | | - Exclude: |
14 | | - - 'Gemfile' |
15 | | - |
16 | | -# Offense count: 2 |
17 | | -Lint/Void: |
18 | | - Exclude: |
19 | | - - 'examples/sentences.rb' |
20 | | - - 'examples/sentiment.rb' |
21 | | - |
22 | | -# Offense count: 3 |
23 | | -Metrics/AbcSize: |
24 | | - Max: 41 |
25 | | - |
26 | | -# Offense count: 4 |
27 | | -# Configuration parameters: CountComments. |
28 | | -Metrics/BlockLength: |
29 | | - Max: 425 |
30 | | - |
31 | | -# Offense count: 2 |
32 | | -# Configuration parameters: CountComments. |
33 | | -Metrics/ClassLength: |
34 | | - Max: 140 |
35 | | - |
36 | | -# Offense count: 142 |
37 | | -# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. |
38 | | -# URISchemes: http, https |
39 | | -Metrics/LineLength: |
40 | | - Max: 408 |
41 | | - |
42 | | -# Offense count: 6 |
43 | | -# Configuration parameters: CountComments. |
44 | | -Metrics/MethodLength: |
45 | | - Max: 42 |
46 | | - |
47 | | -# Offense count: 1 |
48 | | -# Configuration parameters: CountKeywordArgs. |
49 | | -Metrics/ParameterLists: |
50 | | - Max: 6 |
51 | | - |
52 | | -# Offense count: 94 |
53 | | -# Cop supports --auto-correct. |
54 | | -# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles. |
55 | | -# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit |
56 | | -Style/AlignHash: |
57 | | - Exclude: |
58 | | - - 'tests/tests_spec.rb' |
59 | | - |
60 | | -# Offense count: 1 |
61 | | -# Cop supports --auto-correct. |
62 | | -# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods. |
63 | | -# SupportedStyles: line_count_based, semantic, braces_for_chaining |
64 | | -# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object |
65 | | -# FunctionalMethods: let, let!, subject, watch |
66 | | -# IgnoredMethods: lambda, proc, it |
67 | | -Style/BlockDelimiters: |
68 | | - Exclude: |
69 | | - - 'tests/tests_spec.rb' |
70 | | - |
71 | | -# Offense count: 1 |
72 | | -# Cop supports --auto-correct. |
73 | | -Style/BlockEndNewline: |
74 | | - Exclude: |
75 | | - - 'tests/tests_spec.rb' |
76 | | - |
77 | | -# Offense count: 18 |
78 | | -# Cop supports --auto-correct. |
79 | | -# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly. |
80 | | -# SupportedStyles: assign_to_condition, assign_inside_condition |
81 | | -Style/ConditionalAssignment: |
82 | | - Enabled: false |
83 | | - |
84 | | -# Offense count: 40 |
85 | | -# Cop supports --auto-correct. |
86 | | -# Configuration parameters: EnforcedStyle, SupportedStyles. |
87 | | -# SupportedStyles: leading, trailing |
88 | | -Style/DotPosition: |
89 | | - Exclude: |
90 | | - - 'tests/tests_spec.rb' |
91 | | - |
92 | | -# Offense count: 1 |
93 | | -# Cop supports --auto-correct. |
94 | | -# Configuration parameters: AllowAdjacentOneLineDefs. |
95 | | -Style/EmptyLineBetweenDefs: |
96 | | - Exclude: |
97 | | - - 'lib/rosette_api.rb' |
98 | | - |
99 | | -# Offense count: 4 |
100 | | -# Cop supports --auto-correct. |
101 | | -Style/EmptyLines: |
102 | | - Exclude: |
103 | | - - 'examples/sentiment.rb' |
104 | | - - 'lib/request_builder.rb' |
105 | | - - 'rosette_api.gemspec' |
106 | | - |
107 | | -# Offense count: 2 |
108 | | -# Cop supports --auto-correct. |
109 | | -# Configuration parameters: EnforcedStyle, SupportedStyles. |
110 | | -# SupportedStyles: empty_lines, no_empty_lines |
111 | | -Style/EmptyLinesAroundBlockBody: |
112 | | - Exclude: |
113 | | - - 'tests/tests_spec.rb' |
114 | | - |
115 | | -# Offense count: 1 |
116 | | -# Cop supports --auto-correct. |
117 | | -Style/EmptyLinesAroundMethodBody: |
118 | | - Exclude: |
119 | | - - 'lib/request_builder.rb' |
120 | | - |
121 | | -# Offense count: 3 |
122 | | -# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts. |
123 | | -Style/FileName: |
124 | | - Exclude: |
125 | | - - 'examples/morphology_compound-components.rb' |
126 | | - - 'examples/morphology_han-readings.rb' |
127 | | - - 'examples/morphology_parts-of-speech.rb' |
128 | | - |
129 | | -# Offense count: 2 |
130 | | -# Configuration parameters: SupportedStyles. |
131 | | -# SupportedStyles: for, each |
132 | | -Style/For: |
133 | | - EnforcedStyle: for |
134 | | - |
135 | | -# Offense count: 30 |
136 | | -# Cop supports --auto-correct. |
137 | | -# Configuration parameters: EnforcedStyle, SupportedStyles. |
138 | | -# SupportedStyles: when_needed, always |
139 | | -Style/FrozenStringLiteralComment: |
140 | | - Enabled: false |
141 | | - |
142 | | -# Offense count: 4 |
143 | | -# Configuration parameters: MinBodyLength. |
144 | | -Style/GuardClause: |
145 | | - Exclude: |
146 | | - - 'lib/address_similarity_parameters.rb' |
147 | | - - 'lib/name_similarity_parameters.rb' |
148 | | - - 'lib/name_translation_parameters.rb' |
149 | | - - 'lib/request_builder.rb' |
150 | | - |
151 | | -# Offense count: 90 |
152 | | -# Cop supports --auto-correct. |
153 | | -# Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. |
154 | | -# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys |
155 | | -Style/HashSyntax: |
156 | | - Exclude: |
157 | | - - 'tests/tests_spec.rb' |
158 | | - |
159 | | -# Offense count: 3 |
160 | | -# Cop supports --auto-correct. |
161 | | -# Configuration parameters: EnforcedStyle, SupportedStyles. |
162 | | -# SupportedStyles: normal, rails |
163 | | -Style/IndentationConsistency: |
164 | | - Exclude: |
165 | | - - 'examples/sentences.rb' |
166 | | - - 'examples/sentiment.rb' |
167 | | - - 'lib/rosette_api.rb' |
168 | | - |
169 | | -# Offense count: 5 |
170 | | -# Cop supports --auto-correct. |
171 | | -# Configuration parameters: Width. |
172 | | -Style/IndentationWidth: |
173 | | - Exclude: |
174 | | - - 'examples/morphology_han-readings.rb' |
175 | | - - 'lib/request_builder.rb' |
176 | | - - 'tests/tests_spec.rb' |
177 | | - |
178 | | -# Offense count: 1 |
179 | | -# Cop supports --auto-correct. |
180 | | -Style/MultilineBlockLayout: |
181 | | - Exclude: |
182 | | - - 'tests/tests_spec.rb' |
183 | | - |
184 | | -# Offense count: 41 |
185 | | -# Cop supports --auto-correct. |
186 | | -# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth. |
187 | | -# SupportedStyles: aligned, indented, indented_relative_to_receiver |
188 | | -Style/MultilineMethodCallIndentation: |
189 | | - Exclude: |
190 | | - - 'tests/tests_spec.rb' |
191 | | - |
192 | | -# Offense count: 15 |
193 | | -# Cop supports --auto-correct. |
194 | | -Style/MutableConstant: |
195 | | - Exclude: |
196 | | - - 'lib/rosette_api.rb' |
197 | | - |
198 | | -# Offense count: 1 |
199 | | -# Cop supports --auto-correct. |
200 | | -Style/NegatedIf: |
201 | | - Exclude: |
202 | | - - 'lib/name_translation_parameters.rb' |
203 | | - |
204 | | -# Offense count: 1 |
205 | | -# Cop supports --auto-correct. |
206 | | -# Configuration parameters: IncludeSemanticChanges. |
207 | | -Style/NonNilCheck: |
208 | | - Exclude: |
209 | | - - 'lib/request_builder.rb' |
210 | | - |
211 | | -# Offense count: 2 |
212 | | -Style/OptionalArguments: |
213 | | - Exclude: |
214 | | - - 'lib/request_builder.rb' |
215 | | - |
216 | | -# Offense count: 4 |
217 | | -# Cop supports --auto-correct. |
218 | | -# Configuration parameters: PreferredDelimiters. |
219 | | -Style/PercentLiteralDelimiters: |
220 | | - Exclude: |
221 | | - - 'rosette_api.gemspec' |
222 | | - |
223 | | -# Offense count: 8 |
224 | | -# Cop supports --auto-correct. |
225 | | -# Configuration parameters: SupportedStyles. |
226 | | -# SupportedStyles: compact, exploded |
227 | | -Style/RaiseArgs: |
228 | | - EnforcedStyle: compact |
229 | | - |
230 | | -# Offense count: 7 |
231 | | -# Cop supports --auto-correct. |
232 | | -Style/RedundantSelf: |
233 | | - Exclude: |
234 | | - - 'lib/address_parameter.rb' |
235 | | - - 'lib/address_similarity_parameters.rb' |
236 | | - - 'lib/document_parameters.rb' |
237 | | - - 'lib/name_parameter.rb' |
238 | | - - 'lib/name_similarity_parameters.rb' |
239 | | - - 'lib/name_translation_parameters.rb' |
240 | | - |
241 | | -# Offense count: 1 |
242 | | -# Cop supports --auto-correct. |
243 | | -Style/SpaceAfterColon: |
244 | | - Exclude: |
245 | | - - 'examples/address_similarity.rb' |
246 | | - - 'examples/name_similarity.rb' |
247 | | - |
248 | | -# Offense count: 2 |
249 | | -# Cop supports --auto-correct. |
250 | | -# Configuration parameters: AllowForAlignment. |
251 | | -Style/SpaceAroundOperators: |
252 | | - Exclude: |
253 | | - - 'examples/language.rb' |
254 | | - - 'rosette_api.gemspec' |
255 | | - |
256 | | -# Offense count: 56 |
257 | | -# Cop supports --auto-correct. |
258 | | -# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles. |
259 | | -# SupportedStyles: space, no_space, compact |
260 | | -Style/SpaceInsideHashLiteralBraces: |
261 | | - Exclude: |
262 | | - - 'examples/language.rb' |
263 | | - - 'tests/tests_spec.rb' |
264 | | - |
265 | | -# Offense count: 44 |
266 | | -# Cop supports --auto-correct. |
267 | | -# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. |
268 | | -# SupportedStyles: single_quotes, double_quotes |
269 | | -Style/StringLiterals: |
270 | | - Exclude: |
271 | | - - 'Gemfile' |
272 | | - - 'examples/address_similarity.rb' |
273 | | - - 'examples/categories.rb' |
274 | | - - 'examples/entities.rb' |
275 | | - - 'examples/language.rb' |
276 | | - - 'examples/morphology_complete.rb' |
277 | | - - 'examples/morphology_compound-components.rb' |
278 | | - - 'examples/morphology_han-readings.rb' |
279 | | - - 'examples/name_similarity.rb' |
280 | | - - 'examples/name_translation.rb' |
281 | | - - 'examples/sentiment.rb' |
282 | | - - 'examples/syntax_dependencies.rb' |
283 | | - - 'examples/tokens.rb' |
284 | | - - 'tests/tests_spec.rb' |
285 | | - |
286 | | -# Offense count: 14 |
287 | | -# Cop supports --auto-correct. |
288 | | -# Configuration parameters: EnforcedStyle, SupportedStyles. |
289 | | -# SupportedStyles: final_newline, final_blank_line |
290 | | -Style/TrailingBlankLines: |
291 | | - Exclude: |
292 | | - - 'examples/address_similarity.rb' |
293 | | - - 'examples/info.rb' |
294 | | - - 'examples/language.rb' |
295 | | - - 'examples/morphology_compound-components.rb' |
296 | | - - 'examples/morphology_han-readings.rb' |
297 | | - - 'examples/morphology_lemmas.rb' |
298 | | - - 'examples/morphology_parts-of-speech.rb' |
299 | | - - 'examples/name_similarity.rb' |
300 | | - - 'examples/name_translation.rb' |
301 | | - - 'examples/ping.rb' |
302 | | - - 'examples/sentences.rb' |
303 | | - - 'examples/sentiment.rb' |
304 | | - - 'examples/tokens.rb' |
305 | | - - 'lib/rosette_api.rb' |
306 | | - - 'lib/rosette_api_error.rb' |
307 | | - |
308 | | -# Offense count: 1 |
309 | | -# Cop supports --auto-correct. |
310 | | -Style/TrailingWhitespace: |
311 | | - Exclude: |
312 | | - - 'lib/request_builder.rb' |
313 | | - |
314 | | -# Offense count: 4 |
315 | | -# Cop supports --auto-correct. |
316 | | -Style/UnneededPercentQ: |
317 | | - Exclude: |
318 | | - - 'rosette_api.gemspec' |
| 1 | +inherit_from: .rubocop_todo.yml |
0 commit comments