Skip to content

Incorporated strict validation in tslint.json - #6364

Draft
Vessel9817 wants to merge 3 commits into
SchemaStore:masterfrom
Vessel9817:tslint.json
Draft

Vessel9817 wants to merge 3 commits into
SchemaStore:masterfrom
Vessel9817:tslint.json

Conversation

@Vessel9817

Copy link
Copy Markdown
Contributor

Incorporated strict validation

Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>

@Vessel9817 Vessel9817 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: Add array length lower bounds. This schema is painfully large for the amount of changes necessary to make this work in strict mode. Surely there's a better way than specifying arrays of length 0...n for n-element arrays.

@Vessel9817 Vessel9817 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is not, this is intended behavior. The AJV setting strict: true implies strictTuples: true. Related: ajv-validator/ajv#1417

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant