# stylus/at-extend-style
enforces
@extendstyle.
- ⚙️ This rule is included in
"stylelint-plugin-stylus/standard". (options:"@extend") - 🔧 The fix option (opens new window) can automatically fix some of the problems reported by this rule.
# 📖 Rule Details
This rule enforces @extend (opens new window) style.
# 🔧 Options
{
"stylus/at-extend-style": ["@extend" | "@extends"]
}
"@extend"... Requires@extendinstead of@extends."@extends"... Requires@extendsinstead of@extend.
# ""@extend"
a
// ✓ GOOD
@extend .foo;
a
// ✗ BAD
@extends .foo;
# "@extends"
a
// ✓ GOOD
@extends .foo;
a
// ✗ BAD
@extend .foo;