Skip to content
This repository was archived by the owner on Jun 10, 2026. It is now read-only.
This repository was archived by the owner on Jun 10, 2026. It is now read-only.

check possibility to merge JSON1006.ValueTooLarge and JSON1008.ValueTooSmall into one ValueOutOfRange rule #142

Description

@shaopeng-gh

JSON1006.ValueTooLarge
JSON1008.ValueTooSmall

The rule factoring here is not wise. Why is it important to have one rule to detect something is too large and another rule for something that is too small? Does this really help the user? Would they, for example, need two different help topics to clarify this distinction?

We should have created something like 'ValueOutOfRange' and collapsed all this analysis into it.

Opened an issue for this improvement.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions