# es/no-numeric-separators

disallow numeric separators

  • ✅ The following configurations enable this rule: plugin:es/no-new-in-esnext
  • 🔧 The --fix option on the command line (opens new window) can automatically fix some of the problems reported by this rule.

This rule reports ES2021 numeric separators (opens new window) as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-numeric-separators: error */ let a = 123_456
Now loading...

# 📚 References