Skip to content

Commit c44857e

Browse files
committed
(CONT-778) - final rubocop fixes
1 parent cd6a5bd commit c44857e

File tree

3 files changed

+27
-7
lines changed

3 files changed

+27
-7
lines changed

.rubocop.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ Style/Documentation:
8484
- spec/**/*
8585
Style/WordArray:
8686
EnforcedStyle: brackets
87-
Metrics/MethodLength:
88-
Max: 17
8987
RSpec/DescribeClass:
9088
Exclude:
9189
- '**/spec/features/**/*'
@@ -94,7 +92,3 @@ RSpec/DescribeClass:
9492
- '**/spec/system/**/*'
9593
- '**/spec/views/**/*'
9694
- 'spec/acceptance/init_spec.rb'
97-
RSpec/ExampleLength:
98-
Max: 7
99-
RSpec/MultipleExpectations:
100-
Max: 4

.rubocop_todo.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This configuration was generated by
2+
# `rubocop --auto-gen-config`
3+
# on 2023-04-04 12:28:55 UTC using RuboCop version 1.48.1.
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: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
11+
Metrics/MethodLength:
12+
Max: 17
13+
14+
# Offense count: 2
15+
# Configuration parameters: CountAsOne.
16+
RSpec/ExampleLength:
17+
Max: 7
18+
19+
# Offense count: 4
20+
RSpec/MultipleExpectations:
21+
Max: 4
22+
23+
# # Offense count: 1
24+
Style/MixinUsage:
25+
Exclude:
26+
- 'spec/spec_helper.rb'

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
require 'spec_helper_local' if File.file?(File.join(File.dirname(__FILE__), 'spec_helper_local.rb'))
1111

12-
include RspecPuppetFacts # rubocop:disable Style/MixinUsage
12+
include RspecPuppetFacts
1313

1414
default_facts = {
1515
puppetversion: Puppet.version,

0 commit comments

Comments
 (0)