UNPKG

@babel/eslint-parser

Version:

ESLint parser that allows for linting of experimental syntax transformed by Babel

10 lines (7 loc) 293 B
import type { ESLint, Linter, AST } from "eslint"; export declare const meta: ESLint.ObjectMetaProperties["meta"]; export declare const parse: (text: string, options?: any) => AST.Program; export declare const parseForESLint: ( text: string, options?: any ) => Linter.ESLintParseResult;