# stylus/no-at-require
disallow
@require
, use@import
instead.
- ⚙️ This rule is included in
"stylelint-plugin-stylus/standard"
. (options:true
) - 🔧 The fix option (opens new window) can automatically fix some of the problems reported by this rule.
# 📖 Rule Details
This rule enforces [@extend] style.
# 🔧 Options
{
"stylus/no-at-require": [true]
}
true
... Disallow@require
, use@import
instead.
# true
// ✓ GOOD
@import './foo.styl'
// ✗ BAD
@require './foo.styl'