# css/no-shorthand-property-overrides

disallow shorthand properties that override related longhand properties

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

# 📖 Rule Details

This rule reports when a shorthand property overrides a previously defined longhand property.

This rule was inspired by Stylelint's declaration-block-no-shorthand-property-overrides rule (opens new window).

Now loading...

# 🔧 Options


# 📚 Further reading

# 🚀 Version

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

# 🔍 Implementation