# toml/no-non-decimal-integer
disallow hexadecimal, octal and binary integer
- 🔧 The
--fix
option on the command line (opens new window) can automatically fix some of the problems reported by this rule.
# 📖 Rule Details
This rule reports disallow hexadecimal, octal and binary integer.
Hexadecimal numbers are very easy to read when expressing colors etc., but using non-decimal numbers in your system can be difficult to read.
# 🔧 Options
toml/no-non-decimal-integer:
- error
- allowHexadecimal: false
allowOctal: false
allowBinary: false
# 📚 Further reading
# 🚀 Version
This rule was introduced in eslint-plugin-toml v0.1.0