Skip to content

Commit 9466763

Browse files
committed
rubocop --auto-gen-config
1 parent 10decfe commit 9466763

File tree

1 file changed

+29
-15
lines changed

1 file changed

+29
-15
lines changed

.rubocop_todo.yml

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,57 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2024-09-25 08:16:07 UTC using RuboCop version 1.66.1.
3+
# on 2024-09-30 08:46:06 UTC using RuboCop version 1.66.1.
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: 6
9+
# Offense count: 2
10+
# This cop supports safe autocorrection (--autocorrect).
11+
Lint/RedundantCopDisableDirective:
12+
Exclude:
13+
- '_tools/ruby_h_to_go/spec/ruby_h_to_go/function_definition_spec.rb'
14+
- '_tools/ruby_h_to_go/spec/ruby_header_parser/util_spec.rb'
15+
16+
# Offense count: 8
1017
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
1118
Metrics/AbcSize:
12-
Max: 68
19+
Max: 79
1320

14-
# Offense count: 1
21+
# Offense count: 2
1522
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
1623
# AllowedMethods: refine
1724
Metrics/BlockLength:
18-
Max: 41
19-
20-
# Offense count: 1
21-
# Configuration parameters: CountBlocks, CountModifierForms.
22-
Metrics/BlockNesting:
23-
Max: 4
25+
Max: 48
2426

2527
# Offense count: 2
2628
# Configuration parameters: CountComments, CountAsOne.
2729
Metrics/ClassLength:
2830
Max: 131
2931

30-
# Offense count: 5
32+
# Offense count: 7
3133
# Configuration parameters: AllowedMethods, AllowedPatterns.
3234
Metrics/CyclomaticComplexity:
33-
Max: 17
35+
Max: 15
3436

35-
# Offense count: 12
37+
# Offense count: 15
3638
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
3739
Metrics/MethodLength:
38-
Max: 67
40+
Max: 75
41+
42+
# Offense count: 1
43+
# Configuration parameters: CountComments, CountAsOne.
44+
Metrics/ModuleLength:
45+
Max: 108
3946

4047
# Offense count: 3
4148
# Configuration parameters: AllowedMethods, AllowedPatterns.
4249
Metrics/PerceivedComplexity:
43-
Max: 17
50+
Max: 16
51+
52+
# Offense count: 1
53+
# This cop supports safe autocorrection (--autocorrect).
54+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
55+
# URISchemes: http, https
56+
Layout/LineLength:
57+
Max: 132

0 commit comments

Comments
 (0)