Skip to content

Commit d8912d1

Browse files
committed
Enable Style/RedundantFileExtensionInRequire
1 parent da9a638 commit d8912d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ Style/RedundantFetchBlock:
749749
Enabled: false
750750

751751
Style/RedundantFileExtensionInRequire:
752-
Enabled: false
752+
Enabled: true
753753

754754
<% if rubocop_version >= "1.52" %>
755755
Style/RedundantFilterChain:

test/fixtures/full_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3782,7 +3782,7 @@ Style/RedundantFileExtensionInRequire:
37823782
Description: Checks for the presence of superfluous `.rb` extension in the filename
37833783
provided to `require` and `require_relative`.
37843784
StyleGuide: "#no-explicit-rb-to-require"
3785-
Enabled: false
3785+
Enabled: true
37863786
VersionAdded: '0.88'
37873787
Style/RedundantFilterChain:
37883788
Description: Identifies usages of `any?`, `empty?`, `none?` or `one?` predicate

0 commit comments

Comments
 (0)