Skip to content

New Linter: numericbounds #18

@JoelSpeed

Description

@JoelSpeed

All numeric fields should be bounds checked, both for too-small or negative, and for too-large

  • TODO: How is this checked in a built-in type? Is there a marker?
  • int64 must be -(2^53) < x < (2^53) or should be represented as a string (javascript float overflows otherwise)

Metadata

Metadata

Labels

kind/featureCategorizes issue or PR as related to a new feature.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions