11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2019-11-01 18:04:20 +0000 using RuboCop version 0.76.0.
3+ # on 2019-11-03 23:25:34 +0000 using RuboCop version 0.76.0.
44# The point is for the user to remove these configuration records
55# one by one as the offenses are removed from the code base.
66# Note that changes in the inspected code, or installation of new
77# versions of RuboCop, may require this file to be generated again.
88
9+ # Offense count: 3
910Metrics/AbcSize :
10- Exclude :
11- - ' lib/request_builder.rb'
11+ Max : 44
1212
13+ # Offense count: 8
14+ # Configuration parameters: CountComments, ExcludedMethods.
15+ # ExcludedMethods: refine
1316Metrics/BlockLength :
14- Exclude :
15- - ' tests/tests_spec.rb'
17+ Max : 707
1618
19+ # Offense count: 2
20+ # Configuration parameters: CountComments.
1721Metrics/ClassLength :
18- Exclude :
19- - ' lib/request_builder.rb'
20- - ' lib/rosette_api.rb'
22+ Max : 218
2123
24+ # Offense count: 1
2225Metrics/CyclomaticComplexity :
2326 Max : 8
2427
25- Metrics/LineLength :
26- Exclude :
27- - ' examples/language_multilingual.rb'
28- - ' lib/document_parameters.rb'
29- - ' lib/name_deduplication_parameters.rb'
30- - ' lib/name_parameter.rb'
31- - ' lib/name_similarity_parameters.rb'
32- - ' lib/name_translation_parameters.rb'
33-
28+ # Offense count: 9
29+ # Configuration parameters: CountComments, ExcludedMethods.
3430Metrics/MethodLength :
35- Exclude :
36- - ' lib/document_parameters.rb'
37- - ' lib/name_deduplication_parameters.rb'
38- - ' lib/name_translation_parameters.rb'
39- - ' lib/request_builder.rb'
31+ Max : 51
4032
33+ # Offense count: 1
34+ # Configuration parameters: CountKeywordArgs.
4135Metrics/ParameterLists :
4236 Max : 6
4337
38+ # Offense count: 1
4439Metrics/PerceivedComplexity :
4540 Max : 8
4641
47- Style/GuardClause :
48- Exclude :
49- - ' lib/document_parameters.rb'
50- - ' lib/name_deduplication_parameters.rb'
51- - ' lib/name_similarity_parameters.rb'
52- - ' lib/name_translation_parameters.rb'
53-
54- Style/IfUnlessModifier :
55- Exclude :
56- - ' lib/name_deduplication_parameters.rb'
57- - ' lib/name_similarity_parameters.rb'
58-
5942# Offense count: 8
60- # Competes with RDoc directives.
61- # https://docs.ruby-lang.org/en/2.1.0/RDoc/Markup.html
62- # Might be addressed in a new version of rubocop.
43+ # Rubocop not hip to RDoc directives.
6344Style/CommentedKeyword :
6445 Exclude :
6546 - ' lib/bad_request_error.rb'
@@ -71,9 +52,31 @@ Style/CommentedKeyword:
7152 - ' lib/name_translation_parameters.rb'
7253 - ' lib/rosette_api_error.rb'
7354
55+ # Offense count: 4
56+ # Configuration parameters: MinBodyLength.
57+ Style/GuardClause :
58+ Exclude :
59+ - ' lib/document_parameters.rb'
60+ - ' lib/name_deduplication_parameters.rb'
61+ - ' lib/name_similarity_parameters.rb'
62+ - ' lib/name_translation_parameters.rb'
63+
64+ # Offense count: 1
65+ # Cop supports --auto-correct.
66+ Style/IfUnlessModifier :
67+ Exclude :
68+ - ' lib/rosette_api.rb'
69+
7470# Offense count: 12
7571# Cop supports --auto-correct.
7672# Configuration parameters: .
7773# SupportedStyles: compact, exploded
7874Style/RaiseArgs :
7975 EnforcedStyle : compact
76+
77+ # Offense count: 9
78+ # Cop supports --auto-correct.
79+ # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
80+ # URISchemes: http, https
81+ Metrics/LineLength :
82+ Max : 208
0 commit comments