Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DiagnosticsOptions

Index

Properties

allowComments?: boolean

If set, comments are tolerated. If set to false, syntax errors will be emitted for comments. DiagnosticsOptions.allowComments will override this setting.

comments?: SeverityLevel

The severity of reported comments. If not set, 'DiagnosticsOptions.allowComments' defines whether comments are ignored or reported as errors.

enableSchemaRequest?: boolean

If set, the schema service would load schema content on-demand with 'fetch' if available

schemaRequest?: SeverityLevel

The severity of problems that occurred when resolving and loading schemas. If set to 'ignore', schema resolving problems are not reported. If not set, 'warning' is used.

schemaValidation?: SeverityLevel

The severity of problems from schema validation. If set to 'ignore', schema validation will be skipped. If not set, 'warning' is used.

schemas?: { fileMatch?: string[]; schema?: any; uri: string }[]

A list of known schemas and/or associations of schemas to file names.

trailingCommas?: SeverityLevel

The severity of reported trailing commas. If not set, trailing commas will be reported as errors.

validate?: boolean

If set, the validator will be enabled and perform syntax and schema based validation, unless DiagnosticsOptions.schemaValidation is set to ignore.