Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 967 Bytes

no-loss-of-precision.md

File metadata and controls

33 lines (22 loc) · 967 Bytes
pageClass sidebarDepth title description since
rule-details
0
vue/no-loss-of-precision
disallow literal numbers that lose precision
v8.0.0

vue/no-loss-of-precision

disallow literal numbers that lose precision

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