Skip to content

Commit

Permalink
Disallow additional properties
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed May 22, 2024
1 parent 3bddbbb commit fbae1db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@
},
"flashingConfig": {
"type": "object",
"additionalProperties": false,
"description": "These options are applied when flashing one or more `program_binary` files to the target memory.",
"properties": {
"flashingEnabled": {
Expand All @@ -239,6 +240,7 @@
},
"formatOptions": {
"type": "object",
"additionalProperties": false,
"properties": {
"format": {
"type": "string",
Expand Down Expand Up @@ -282,6 +284,7 @@
"description": "Each MCU core has a mandatory `programBinary` as well as several other optional properties.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"programBinary"
],
Expand Down Expand Up @@ -471,6 +474,7 @@
"description": "Each MCU core has a mandatory `programBinary` as well as several other optional properties.",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"required": [
"programBinary"
Expand Down Expand Up @@ -498,6 +502,7 @@
"description": "RTT channel configuration. Unlisted active channels will be configured with `dataFormat=String', and 'showTimestamps=true'.",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"channelNumber"
],
Expand Down

0 comments on commit fbae1db

Please sign in to comment.