Skip to content

css/no-number-trailing-zeros

disallow trailing zeros in numbers.

  • ⚙️ 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 remove unnecessary trailing zeros.

This rule was inspired by Stylelint's number-no-trailing-zeros rule.

Now loading...

🔧 Options

Nothing.

📚 Further reading

🚀 Version

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

🔍 Implementation