You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not opposed to this change. I think it's possible to keep the semantics of the existing schema with requires on all the subschemas that are a child of allOf. (the allOf and anyOf probably need to be removed to play well with additionalProperties: false. The exact same changes need to be made to the jsconfig.json schemas as well.
Area with issue?
JSON Schema
✔️ Expected Behavior
This should fail validation due to the typo:
includes
should beinclude
.tsconfig.json
:❌ Actual Behavior
This does not fail validation, presumably because
include
is optional andincludes
is considered an additional property which is allowed.Could we disallow additional properties to make it easier to catch typo mistakes like this?
YAML or JSON file that does not work.
See above.
IDE or code editor.
Visual Studio Code
Are you making a PR for this?
Yes, I will create a PR, once I understand more.
The text was updated successfully, but these errors were encountered: