Skip to content

css/prefer-reduce-shorthand-property-box-values

require reduction in box values of shorthand property

  • ⚙️ This rule is included in "plugin:css/standard".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

📖 Rule Details

This rule aims to reduce the box values of the shorthand properties.

This rule was inspired by Stylelint's shorthand-property-no-redundant-values rule.

Now loading...

🔧 Options

Nothing.

📚 Further reading

🚀 Version

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

🔍 Implementation