# stylus/at-extend-style

enforces @extend style.

  • ⚙️ 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 @extend instead of @extends.
  • "@extends" ... Requires @extends instead of @extend.

# ""@extend"

a // ✓ GOOD @extend .foo; a // ✗ BAD @extends .foo;
Now loading...

# "@extends"

a // ✓ GOOD @extends .foo; a // ✗ BAD @extend .foo;
Now loading...

# 📚 Further reading

# 🔍 Implementation