Skip to content

Commit 4c7e9e5

Browse files
Merge pull request #368 from puppetlabs/MAINT-Disbale_spec_suffix_cop
(MAINT) Disable spec suffix cop
2 parents 8d63902 + 3710cfd commit 4c7e9e5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.rubocop_todo.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2023-09-12 16:29:51 UTC using RuboCop version 1.56.3.
3+
# on 2023-09-25 08:38:34 UTC using RuboCop version 1.56.3.
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,12 +77,6 @@ Naming/HeredocDelimiterNaming:
7777
Exclude:
7878
- 'spec/acceptance/generate_markdown_spec.rb'
7979

80-
# Offense count: 24
81-
# Configuration parameters: AllowedPatterns.
82-
# SupportedStyles: snake_case, camelCase
83-
Naming/MethodName:
84-
EnforcedStyle: snake_case
85-
8680
# Offense count: 24
8781
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
8882
# AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
@@ -139,6 +133,12 @@ RSpec/ExpectInHook:
139133
Exclude:
140134
- 'spec/unit/puppet-strings/json_spec.rb'
141135

136+
# Offense count: 20
137+
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
138+
# Include: **/*_spec*rb*, **/spec/**/*
139+
RSpec/FilePath:
140+
Enabled: false
141+
142142
# Offense count: 91
143143
RSpec/MultipleExpectations:
144144
Max: 64

0 commit comments

Comments
 (0)