Skip to content

Commit a65a941

Browse files
committed
Suppress RSpec/FilePath's offense
This commit suppresses the following `RSpec/FilePath`'s offense: ```console $ bundle exec rubocop (snip) Offenses: spec/rubocop/ast/rubocop_compatibility_spec.rb:3:1: C: RSpec/FilePath: Spec path should end with rubocop/ast/rubo_cop_compatibility*_spec.rb. RSpec.describe RuboCop::AST::RuboCopCompatibility do ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 163 files inspected, 1 offense detected ```
1 parent a54d905 commit a65a941

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.rubocop.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ RSpec:
105105
Expectations:
106106
- expect_parsing
107107

108+
# Disable `RSpec/FilePath` cop because it has been deprecated:
109+
# https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecfilepath
110+
RSpec/FilePath:
111+
Enabled: false
112+
108113
RSpec/PredicateMatcher:
109114
Strict: false
110115

0 commit comments

Comments
 (0)