From 3003dc96cd45ab12d8d0a2b55c797f79e13a1927 Mon Sep 17 00:00:00 2001 From: Petr Spacek Date: Mon, 3 May 2021 09:49:11 +0200 Subject: [PATCH 1/2] feat: add config to disable additional properties --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 6bc8c456..22e249b8 100755 --- a/package.json +++ b/package.json @@ -143,6 +143,11 @@ "type": "boolean", "default": true, "description": "Automatically pull available YAML schemas from JSON Schema Store" + }, + "yaml.disableAdditionalProperties": { + "type": "boolean", + "default": false, + "description": "Globally set additionalProperties to false to all objects. So if its true, no extra properties are allowed inside yaml." } } }, From d5de8620a507a5b86ebb21723850753e1a9001e1 Mon Sep 17 00:00:00 2001 From: Petr Spacek Date: Wed, 12 May 2021 20:35:18 +0200 Subject: [PATCH 2/2] chore: fix additional properties desc typing --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 22e249b8..3059dd62 100755 --- a/package.json +++ b/package.json @@ -147,7 +147,7 @@ "yaml.disableAdditionalProperties": { "type": "boolean", "default": false, - "description": "Globally set additionalProperties to false to all objects. So if its true, no extra properties are allowed inside yaml." + "description": "Globally set additionalProperties to false for all objects. So if its true, no extra properties are allowed inside yaml." } } },