Skip to content

Commit 22e4ea2

Browse files
lib: set config schema additionalProperties to true
1 parent 5c8c225 commit 22e4ea2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/node-config-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"additionalProperties": false,
3+
"additionalProperties": true,
44
"properties": {
55
"$schema": {
66
"type": "string"

lib/internal/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function generateConfigJsonSchema() {
6565
const schema = {
6666
__proto__: null,
6767
$schema: 'https://json-schema.org/draft/2020-12/schema',
68-
additionalProperties: false,
68+
additionalProperties: true,
6969
properties: {
7070
$schema: {
7171
__proto__: null,

0 commit comments

Comments
 (0)