Skip to content

css/no-unknown-property

disallow unknown properties

  • ⚙️ This rule is included in "plugin:css/recommended" and "plugin:css/standard".

📖 Rule Details

This rule reports an unknown CSS property.

This rule was inspired by Stylelint's property-no-unknown rule.

Now loading...

🔧 Options

json
{
  "css/no-unknown-property": ["error", {
    "ignoreProperties": [],
    "ignorePrefixed": true,
  }]
}
  • ignoreProperties ... You can specify property names or patterns that you want to ignore from checking.
  • ignorePrefixed ... If true, ignores properties with vendor prefix from checking. Default is true.

📚 Further reading

🚀 Version

This rule was introduced in eslint-plugin-css v0.1.0

🔍 Implementation