vscode-yaml icon indicating copy to clipboard operation
vscode-yaml copied to clipboard

Number and integer linters do not ignore underscore separator (_)

Open rleonid opened this issue 2 years ago • 0 comments

Describe the bug

Per the int and float specs, int and float values should ignore _ to make them readable. Unfortunately the schema validator infers an incorrect type:

image

Expected Behavior

Ignore _.

Current Behavior

Infers incorrect type.

Steps to Reproduce

Create a field with an int or float types (float shown above).

Environment

  • [ ] Windows
  • [ ] Mac
  • [ ] Linux
  • [ ] other (please specify)

rleonid avatar Sep 27 '23 19:09 rleonid