File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ Metrics/BlockLength:
39
39
- " *.gemspec"
40
40
- " **/*_spec.rb"
41
41
42
+ Metrics/ClassLength :
43
+ Exclude :
44
+ - " **/*_test.rb"
45
+
42
46
Style/Documentation :
43
47
Exclude :
44
48
- " **/*_test.rb"
Original file line number Diff line number Diff line change @@ -17,11 +17,6 @@ Metrics/AbcSize:
17
17
Metrics/BlockLength :
18
18
Max : 48
19
19
20
- # Offense count: 2
21
- # Configuration parameters: CountComments, CountAsOne.
22
- Metrics/ClassLength :
23
- Max : 131
24
-
25
20
# Offense count: 7
26
21
# Configuration parameters: AllowedMethods, AllowedPatterns.
27
22
Metrics/CyclomaticComplexity :
Original file line number Diff line number Diff line change 16
16
raise "#{ gemspec_file } isn't found" unless File . exist? ( gemspec_file )
17
17
18
18
# Patch to make a gem into a Go gem right after `bundle gem`
19
- class GemPatcher
19
+ class GemPatcher # rubocop:disable Metrics/ClassLength
20
20
attr_reader :gemspec_file
21
21
22
22
# @param gemspec_file [String]
You can’t perform that action at this time.
0 commit comments