@typescript-eslint/parser

  • Version 8.18.1
  • Published
  • 18.9 kB
  • 5 dependencies
  • MIT 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: string | ts.SourceFile,
      options?: ParserOptions
      ) => ParseForESLintResult['ast'];

        function parseForESLint

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

          Package Files (2)

          Dependencies (5)

          Dev Dependencies (8)

          Peer Dependencies (2)

          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>