# toml/precision-of-integer

disallow precision of integer greater than the specified value.

  • ⚙️ This rule is included in "plugin:toml/recommended" and "plugin:toml/standard".

# 📖 Rule Details

This rule reports an integer that exceeds the specified precision. Default 64-bit.
Prevent unintended errors by specifying the maximum precision of the TOML implementation you use.

Now loading...

# 🔧 Options

toml/precision-of-integer:
  - error
  - maxBit: 64
  • maxBit ... Specifies the maximum bit precision.

# 📚 Further reading

# 🚀 Version

This rule was introduced in eslint-plugin-toml v0.1.0

# 🔍 Implementation