11# This configuration was generated by
22# `rubocop --auto-gen-config`
3- # on 2019-11-07 23:26:30 +0000 using RuboCop version 0.76 .0.
3+ # on 2024-01-11 22:13:12 UTC using RuboCop version 1.59 .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
99# Offense count: 4
10+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
1011Metrics/AbcSize :
11- Max : 44
12+ Max : 45
1213
1314# Offense count: 10
14- # Configuration parameters: CountComments, ExcludedMethods .
15- # ExcludedMethods : refine
15+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns .
16+ # AllowedMethods : refine
1617Metrics/BlockLength :
1718 Max : 786
1819
1920# Offense count: 2
20- # Configuration parameters: CountComments.
21+ # Configuration parameters: CountComments, CountAsOne .
2122Metrics/ClassLength :
22- Max : 228
23+ Max : 232
2324
2425# Offense count: 1
26+ # Configuration parameters: AllowedMethods, AllowedPatterns.
2527Metrics/CyclomaticComplexity :
2628 Max : 8
2729
2830# Offense count: 11
29- # Configuration parameters: CountComments, ExcludedMethods .
31+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns .
3032Metrics/MethodLength :
3133 Max : 51
3234
3335# Offense count: 1
34- # Configuration parameters: CountKeywordArgs.
36+ # Configuration parameters: CountKeywordArgs, MaxOptionalParameters .
3537Metrics/ParameterLists :
3638 Max : 6
3739
38- # Offense count: 1
39- Metrics/PerceivedComplexity :
40- Max : 8
41-
4240# Offense count: 3
43- # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
41+ # Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
42+ # CheckDefinitionPathHierarchyRoots: lib, spec, test, src
4443# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
4544Naming/FileName :
4645 Exclude :
@@ -49,6 +48,7 @@ Naming/FileName:
4948 - ' examples/morphology_parts-of-speech.rb'
5049
5150# Offense count: 10
51+ # This cop supports unsafe autocorrection (--autocorrect-all).
5252Style/CommentedKeyword :
5353 Exclude :
5454 - ' lib/address_parameter.rb'
@@ -62,31 +62,16 @@ Style/CommentedKeyword:
6262 - ' lib/name_translation_parameters.rb'
6363 - ' lib/rosette_api_error.rb'
6464
65- # Offense count: 4
66- # Configuration parameters: MinBodyLength.
67- Style/GuardClause :
68- Exclude :
69- - ' lib/document_parameters.rb'
70- - ' lib/name_deduplication_parameters.rb'
71- - ' lib/name_similarity_parameters.rb'
72- - ' lib/name_translation_parameters.rb'
73-
74- # Offense count: 1
75- # Cop supports --auto-correct.
76- Style/IfUnlessModifier :
77- Exclude :
78- - ' lib/rosette_api.rb'
79-
8065# Offense count: 14
81- # Cop supports --auto-correct .
82- # Configuration parameters: .
66+ # This cop supports safe autocorrection (--autocorrect) .
67+ # Configuration parameters: AllowedCompactTypes .
8368# SupportedStyles: compact, exploded
8469Style/RaiseArgs :
8570 EnforcedStyle : compact
8671
87- # Offense count: 25
88- # Cop supports --auto-correct .
89- # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns .
72+ # Offense count: 11
73+ # This cop supports safe autocorrection (--autocorrect) .
74+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns .
9075# URISchemes: http, https
91- Metrics /LineLength :
76+ Layout /LineLength :
9277 Max : 772
0 commit comments