Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
doc: fix schema generator
  • Loading branch information
ChALkeR committed Jan 30, 2026
commit 40bfdac41861c60d07eb6fb37bf27326bd4eb2ef
5 changes: 4 additions & 1 deletion lib/internal/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function generateConfigJsonSchema() {
__proto__: null,
oneOf: [
{ __proto__: null, type: 'string' },
{ __proto__: null, items: { __proto__: null, type: 'string', minItems: 1 }, type: 'array' },
{ __proto__: null, type: 'array', minItems: 1, items: { __proto__: null, type: 'string' } },
],
};
}
Expand All @@ -66,6 +66,7 @@ function generateConfigJsonSchema() {
__proto__: null,
$schema: 'https://json-schema.org/draft/2020-12/schema',
additionalProperties: false,
required: [],
properties: {
$schema: {
__proto__: null,
Expand All @@ -74,6 +75,7 @@ function generateConfigJsonSchema() {
nodeOptions: {
__proto__: null,
additionalProperties: false,
required: [],
properties: { __proto__: null },
type: 'object',
},
Expand All @@ -99,6 +101,7 @@ function generateConfigJsonSchema() {
__proto__: null,
type: 'object',
additionalProperties: false,
required: [],
properties: { __proto__: null },
};

Expand Down
Loading