@typescript-eslint/parser

  • Version 4.30.0
  • Published
  • 70.3 kB
  • 4 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 version

const version: string;

    Functions

    function parse

    parse: (code: string, options?: any) => ParseForESLintResult['ast'];

      function parseForESLint

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

        Package Files (2)

        Dependencies (4)

        Dev Dependencies (4)

        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>