diff --git a/src/components/Editor.tsx b/src/components/Editor.tsx index 3b8de50b1..4f19985d0 100644 --- a/src/components/Editor.tsx +++ b/src/components/Editor.tsx @@ -216,7 +216,8 @@ export class Editor extends React.Component { monaco.languages.json?.jsonDefaults.setDiagnosticsOptions({ enableSchemaRequest: true, validate: true, - allowComments: true + allowComments: true, + ...monaco.languages.json?.jsonDefaults.diagnosticsOptions }); // After initializing monaco editor