Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New fields should only need a top level introduced_at #91

Closed
tonysimpson opened this issue Mar 17, 2020 · 0 comments
Closed

New fields should only need a top level introduced_at #91

tonysimpson opened this issue Mar 17, 2020 · 0 comments

Comments

@tonysimpson
Copy link
Contributor

acceptable lint is asking for an introduced_at on all nodes under a new property. Only the top level should need one when its new.
Errors on:
"common-ids": {
"type": "array",
"items": {"type": "string"},
"introduced_at": 20,
},
Wants:
"common-ids": {
"type": "array",
"items": {"type": "string", "introduced_at": 20},
"introduced_at": 20,
},

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

No branches or pull requests

2 participants