# stylus/selector-type-no-unknown
disallow unknown type selectors.
- ⚙️ This rule is included in
"stylelint-plugin-stylus/recommended"
and"stylelint-plugin-stylus/standard"
. (options:true
)
# 📖 Rule Details
This rule reports unknown type selectors.
# ❓ Why Not Use stylelint
Rule
The selector-type-no-unknown (opens new window) rule incorrectly report errors in Stylus.
This problem is that the core rules do not understand selector of the Stylus.
The stylus/selector-type-no-unknown
rule understands selector of the Stylus.
# 🔧 Options
See stylelint - selector-type-no-unknown - Options (opens new window).