Skip to content
On this page

vue/no-loss-of-precision

Disallow literal numbers that lose precision in <template>

This rule is the same rule as core no-loss-of-precision rule but it applies to the expressions in <template>.

WARNING

You must be using ESLint v7.1.0 or later to use this rule.

📚 Further Reading

🚀 Version

This rule was introduced in eslint-plugin-vue v8.0.0

🔍 Implementation

Taken with ❤️ from ESLint core