Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

format/statements/numeric-literal-separator

Not in any preset. Safe fix.

What it does

Adds separators to numeric literals of any kind.

Configuration

[format.rules]
"statements/numeric-literal-separator" = true

To skip it in some files, add a @pun-ignore-file comment.

Options

Name Type Allowed values Default Upstream name
override-existing bool Any false override_existing
strategy enum use-separator, no-separator "use-separator" strategy

Replaces

More format/statements rules · Edit this page

Last updated on

Was this page helpful?