Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typescript-eslint-parser

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-eslint-parser

An Esprima-style parser for TypeScript

  • 0.1.0-alpha.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
44K
decreased by-47.41%
Maintainers
1
Weekly downloads
 
Created
Source

TypeScript ESLint Parser (Experimental)

An parser that converts TypeScript into an ESTree-compatible form so it can be used in ESLint.

Important: This parser is still in the very early stages and is considered experimental. There are likely a lot of bugs. You should not rely on this in a production environment yet.

Usage

Install:

npm i typescript-eslint-parser --save

And in your ESLint configuration file:

"parser": "typescript-eslint-parser"

Help Wanted!

If you're familiar with TypeScript and ESLint, and you'd like to see this project progress, please consider contributing. We need people with a good knowledge of TypeScript to ensure this parser is useful.

Contributing

Issues and pull requests will be triaged and responded to as quickly as possible. We operate under the ESLint Contributor Guidelines, so please be sure to read them before contributing. If you're not sure where to dig in, check out the issues.

TypeScript ESLint Parser is licensed under a permissive BSD 2-clause license.

Build Commands

  • npm test - run all linting and tests
  • npm run lint - run all linting

Development Plan

  • Phase 1: Full ES6 support, stripping out all TypeScript-specific syntax.
  • Phase 2: Add support for attaching comments.
  • Phase 3: Add JSX support.
  • Phase 4: Add support for top-level TypeScript syntax.
  • Phase 5: Add support for types.

The high-level goal is to have output that matches Espree v3.x.

Keywords

FAQs

Package last updated on 04 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc