Skip to content

Commit 0b86050

Browse files
Mth0158pirj
authored andcommitted
Remove factorybot files inclusion for Metrics/BlockLength cop
1 parent abb0c26 commit 0b86050

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
- Add support for error matchers (`raise_exception` and `raise_error`) to `RSpec/Dialect`. ([@lovro-bikic])
88
- Don't register offenses for `RSpec/DescribedClass` within `Data.define` blocks. ([@lovro-bikic])
99
- Add autocorrection support for `RSpec/IteratedExpectation` for single expectations. ([@lovro-bikic])
10-
- Exclude all cops from inspecting factorybot files, except if explicitly included ([@Mth0158])
1110
- Exclude all cops from inspecting factorybot files, except if explicitly included. ([@Mth0158])
1211

1312
## 3.6.0 (2025-04-18)

config/default.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ RSpec:
99
Exclude:
1010
- "**/spec/factories.rb"
1111
- "**/spec/factories/**/*.rb"
12-
- "**/test/factories.rb"
13-
- "**/test/factories/**/*.rb"
1412
- "**/features/support/factories/**/*.rb"
1513
Language:
1614
inherit_mode:
@@ -116,14 +114,7 @@ RSpec:
116114
Metrics/BlockLength:
117115
inherit_mode:
118116
merge:
119-
- Include
120117
- Exclude
121-
Include:
122-
- "**/spec/factories.rb"
123-
- "**/spec/factories/**/*.rb"
124-
- "**/test/factories.rb"
125-
- "**/test/factories/**/*.rb"
126-
- "**/features/support/factories/**/*.rb"
127118
Exclude:
128119
- "**/*_spec.rb"
129120
- "**/spec/**/*"

0 commit comments

Comments
 (0)