@typescript-eslint/parser

  • Version 7.9.0
  • Published
  • 18 kB
  • 5 dependencies
  • BSD-2-Clause license

Install

npm i @typescript-eslint/parser
yarn add @typescript-eslint/parser
pnpm add @typescript-eslint/parser

Overview

An ESLint custom parser which leverages TypeScript ESTree

Index

Variables

variable meta

const meta: { name: string; version: string };

    variable version

    const version: string;

      Functions

      function parse

      parse: (
      code: ts.SourceFile | string,
      options?: ParserOptions
      ) => ParseForESLintResult['ast'];

        function parseForESLint

        parseForESLint: (
        code: ts.SourceFile | string,
        options?: ParserOptions | null
        ) => ParseForESLintResult;

          Package Files (2)

          Dependencies (5)

          Dev Dependencies (8)

          Peer Dependencies (1)

          Badge

          To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

          You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@typescript-eslint/parser.

          • Markdown
            [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@typescript-eslint/parser)
          • HTML
            <a href="https://www.jsdocs.io/package/@typescript-eslint/parser"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>