Skip to content

Commit da9a638

Browse files
authored
Merge pull request #643 from Shopify/mixin-usage
2 parents dd81233 + 85f3312 commit da9a638

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

rubocop.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,6 @@ Style/MinMaxComparison:
645645
Style/MixinGrouping:
646646
Enabled: false
647647

648-
Style/MixinUsage:
649-
Enabled: false
650-
651648
Style/ModuleFunction:
652649
EnforcedStyle: extend_self
653650

test/fixtures/full_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3320,7 +3320,7 @@ Style/MixinGrouping:
33203320
- grouped
33213321
Style/MixinUsage:
33223322
Description: Checks that `include`, `extend` and `prepend` exists at the top level.
3323-
Enabled: false
3323+
Enabled: true
33243324
VersionAdded: '0.51'
33253325
Style/ModuleFunction:
33263326
Description: Checks for usage of `extend self` in modules.

0 commit comments

Comments
 (0)