eslint-plugin-text
Version:
An incredible ESLint plugin for retext or textlint
11 lines (10 loc) • 446 B
TypeScript
import type { TSESLint, TSESTree } from '@typescript-eslint/utils';
export declare const meta: {
name: string;
version: string;
};
export interface TextParserOptions extends TSESLint.Linter.ParserOptions {
filePath?: string;
}
export declare const parseForESLint: (text: string, _options?: TextParserOptions) => TSESLint.Parser.ParseResult;
export declare const parse: (text: string, options?: TextParserOptions) => TSESTree.Program;