Skip to content

Commit a8dd1f0

Browse files
committed
Stop disabling Style/MutableConstant
1 parent c1d4df8 commit a8dd1f0

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Diff for: rubocop.yml

-3
Original file line numberDiff line numberDiff line change
@@ -1113,9 +1113,6 @@ Style/MultilineWhenThen:
11131113
Style/MultipleComparison:
11141114
Enabled: false
11151115

1116-
Style/MutableConstant:
1117-
Enabled: false
1118-
11191116
Style/NegatedIf:
11201117
Enabled: false
11211118

Diff for: test/fixtures/full_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3522,7 +3522,7 @@ Style/MultipleComparison:
35223522
ComparisonsThreshold: 2
35233523
Style/MutableConstant:
35243524
Description: Do not assign mutable objects to constants.
3525-
Enabled: false
3525+
Enabled: true
35263526
VersionAdded: '0.34'
35273527
VersionChanged: '1.8'
35283528
SafeAutoCorrect: false

0 commit comments

Comments
 (0)