Skip to content

yml/no-trailing-zeros

disallow trailing zeros for floats

  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

📖 Rule Details

This rule enforces the removal of unnecessary trailing zeros from floats.

Now loading...

🔧 Options

Nothing.

🚀 Version

This rule was introduced in eslint-plugin-yml v1.6.0

🔍 Implementation