Skip to content

stylus/selector-type-no-unknown

disallow unknown type selectors.

  • ⚙️ This rule is included in "stylelint-stylus/recommended" and "stylelint-stylus/standard". (options: true)

📖 Rule Details

This rule reports unknown type selectors.

❓ Why Not Use stylelint Rule

The selector-type-no-unknown 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.

🔍 Implementation