UNPKG

eclint

Version:

Validate or fix code that doesn't adhere to EditorConfig settings or infer settings from existing code.

24 lines (23 loc) 699 B
/// <reference types="node" /> import * as linez from 'linez'; import * as eclint from './eclint'; export declare class Line implements linez.Line { isBlockComment?: boolean; isBlockCommentEnd: boolean; isBlockCommentStart: boolean; blockCommentStart?: Line; doc: IDocument; padSize: number; prefix: string; string: string; suffix: string; offset: number; number: number; ending: string; constructor(line: linez.Line, doc?: IDocument); text: string; } export declare function create(file: string | Buffer, settings?: eclint.ISettings): IDocument; export interface IDocument extends linez.Document { lines: Line[]; }