# Available Rules

The --fix option on the command line (opens new window) automatically fixes problems reported by rules which have a wrench 🔧 below.
The rules with the following star ⭐️ are included in the plugin:css/recommended config and the plugin:css/standard config.
The rules with the following lipstick 💄 are included in the plugin:css/standard config.

# Possible Errors

Rule ID Description
css/no-dupe-properties disallow duplicate properties ⭐️
css/no-invalid-color-hex disallow invalid hex colors ⭐️
css/no-shorthand-property-overrides disallow shorthand properties that override related longhand properties ⭐️
css/no-unknown-property disallow unknown properties ⭐️
css/no-unknown-unit disallow unknown units ⭐️

# Best Practices

Rule ID Description
css/named-color enforce named colors 🔧
css/no-length-zero-unit disallow units for zero lengths 💄🔧
css/no-useless-color-alpha disallow unnecessary alpha-channel transparency value ⭐️🔧
css/prefer-reduce-shorthand-property-box-values require reduction in box values of shorthand property 💄🔧

# Stylistic Issues

Rule ID Description
css/color-hex-style enforce hex color style 💄🔧
css/no-number-trailing-zeros disallow trailing zeros in numbers. 💄🔧
css/number-leading-zero require or disallow a leading zero for fractional numbers less than 1 💄🔧
css/property-casing enforce specific casing for CSS properties 💄🔧
Last Updated: 2/13/2024, 12:55:19 AM