mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
Make it clear that options are set via setDiagnosticOptions
This commit is contained in:
parent
9205fd98a6
commit
ca246f0350
1 changed files with 22 additions and 22 deletions
44
src/monaco.d.ts
vendored
44
src/monaco.d.ts
vendored
|
|
@ -4,32 +4,32 @@
|
||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
declare module monaco.languages.css {
|
declare module monaco.languages.css {
|
||||||
export interface DiagnosticsOptions {
|
export interface DiagnosticsOptions {
|
||||||
validate?: boolean;
|
readonly validate?: boolean;
|
||||||
lint?: {
|
readonly lint?: {
|
||||||
compatibleVendorPrefixes?: 'ignore' | 'warning' | 'error',
|
readonly compatibleVendorPrefixes?: 'ignore' | 'warning' | 'error',
|
||||||
vendorPrefix?: 'ignore' | 'warning' | 'error',
|
readonly vendorPrefix?: 'ignore' | 'warning' | 'error',
|
||||||
duplicateProperties?: 'ignore' | 'warning' | 'error',
|
readonly duplicateProperties?: 'ignore' | 'warning' | 'error',
|
||||||
emptyRules?: 'ignore' | 'warning' | 'error',
|
readonly emptyRules?: 'ignore' | 'warning' | 'error',
|
||||||
importStatement?: 'ignore' | 'warning' | 'error',
|
readonly importStatement?: 'ignore' | 'warning' | 'error',
|
||||||
boxModel?: 'ignore' | 'warning' | 'error',
|
readonly boxModel?: 'ignore' | 'warning' | 'error',
|
||||||
universalSelector?: 'ignore' | 'warning' | 'error',
|
readonly universalSelector?: 'ignore' | 'warning' | 'error',
|
||||||
zeroUnits?: 'ignore' | 'warning' | 'error',
|
readonly zeroUnits?: 'ignore' | 'warning' | 'error',
|
||||||
fontFaceProperties?: 'ignore' | 'warning' | 'error',
|
readonly fontFaceProperties?: 'ignore' | 'warning' | 'error',
|
||||||
hexColorLength?: 'ignore' | 'warning' | 'error',
|
readonly hexColorLength?: 'ignore' | 'warning' | 'error',
|
||||||
argumentsInColorFunction?: 'ignore' | 'warning' | 'error',
|
readonly argumentsInColorFunction?: 'ignore' | 'warning' | 'error',
|
||||||
unknownProperties?: 'ignore' | 'warning' | 'error',
|
readonly unknownProperties?: 'ignore' | 'warning' | 'error',
|
||||||
ieHack?: 'ignore' | 'warning' | 'error',
|
readonly ieHack?: 'ignore' | 'warning' | 'error',
|
||||||
unknownVendorSpecificProperties?: 'ignore' | 'warning' | 'error',
|
readonly unknownVendorSpecificProperties?: 'ignore' | 'warning' | 'error',
|
||||||
propertyIgnoredDueToDisplay?: 'ignore' | 'warning' | 'error',
|
readonly propertyIgnoredDueToDisplay?: 'ignore' | 'warning' | 'error',
|
||||||
important?: 'ignore' | 'warning' | 'error',
|
readonly important?: 'ignore' | 'warning' | 'error',
|
||||||
float?: 'ignore' | 'warning' | 'error',
|
readonly float?: 'ignore' | 'warning' | 'error',
|
||||||
idSelector?: 'ignore' | 'warning' | 'error'
|
readonly idSelector?: 'ignore' | 'warning' | 'error'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface LanguageServiceDefaults {
|
export interface LanguageServiceDefaults {
|
||||||
onDidChange: IEvent<LanguageServiceDefaults>;
|
readonly onDidChange: IEvent<LanguageServiceDefaults>;
|
||||||
diagnosticsOptions: DiagnosticsOptions;
|
readonly diagnosticsOptions: DiagnosticsOptions;
|
||||||
setDiagnosticsOptions(options: DiagnosticsOptions): void;
|
setDiagnosticsOptions(options: DiagnosticsOptions): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue