Skip to content

Commit f643cad

Browse files
committed
No additional properties (fixes microsoft/vscode-remote-release#2222)
1 parent 18b404f commit f643cad

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

extensions/configuration-editing/schemas/attachContainer.schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
"description": "Configures an attached to container",
44
"allowComments": true,
55
"type": "object",
6+
"additionalProperties": false,
67
"definitions": {
78
"attachContainer": {
89
"type": "object",
10+
"additionalProperties": false,
911
"properties": {
1012
"workspaceFolder": {
1113
"type": "string",

extensions/configuration-editing/schemas/devContainer.schema.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
"description": "Defines a dev container",
44
"allowComments": true,
55
"type": "object",
6+
"additionalProperties": false,
67
"definitions": {
78
"devContainerCommon": {
89
"type": "object",
10+
"additionalProperties": false,
911
"properties": {
1012
"name": {
1113
"type": "string",
@@ -63,6 +65,7 @@
6365
},
6466
"nonComposeBase": {
6567
"type": "object",
68+
"additionalProperties": false,
6669
"properties": {
6770
"appPort": {
6871
"type": [
@@ -131,6 +134,7 @@
131134
},
132135
"dockerFileContainer": {
133136
"type": "object",
137+
"additionalProperties": false,
134138
"properties": {
135139
"dockerFile": {
136140
"type": "string",
@@ -147,6 +151,7 @@
147151
},
148152
"imageContainer": {
149153
"type": "object",
154+
"additionalProperties": false,
150155
"properties": {
151156
"image": {
152157
"type": "string",
@@ -159,6 +164,7 @@
159164
},
160165
"composeContainer": {
161166
"type": "object",
167+
"additionalProperties": false,
162168
"properties": {
163169
"dockerComposeFile": {
164170
"type": [

0 commit comments

Comments
 (0)