13 lines
580 B
TypeScript
13 lines
580 B
TypeScript
import { TextDocument } from 'vscode-languageserver-textdocument';
|
|
import { Diagnostic } from 'vscode-languageserver-types';
|
|
import { SingleYAMLDocument } from '../../parser/yaml-documents';
|
|
import { LanguageSettings } from '../../yamlLanguageService';
|
|
import { AdditionalValidator } from './types';
|
|
export declare class YAMLStyleValidator implements AdditionalValidator {
|
|
private forbidSequence;
|
|
private forbidMapping;
|
|
constructor(settings: LanguageSettings);
|
|
validate(document: TextDocument, yamlDoc: SingleYAMLDocument): Diagnostic[];
|
|
private getRangeOf;
|
|
}
|