Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Infrastructure]: The latest build 4.0.0-dev.20200520 breaks @typescript-eslint/parser #38682

Copy link
Copy link
@a-tarasyuk

Description

@a-tarasyuk
Issue body actions
Linting: node_modules/eslint/bin/eslint --cache --cache-location scripts/.eslintcache --format autolinkable-stylish --rulesdir scripts/eslint/built/rules --ext .ts scripts
> /.nvm/versions/node/v12.16.1/bin/node node_modules/eslint/bin/eslint --cache --cache-location scripts/.eslintcache --format autolinkable-stylish --rulesdir scripts/eslint/built/rules --ext .ts scripts
/TypeScript/scripts/eslint/rules/only-arrow-functions.ts
Error: /TypeScript/scripts/eslint/rules/only-arrow-functions.ts  Parsing error: Cannot read property 'map' of undefined

Example 1

Example 2

It seems this issue related to some of the changes in public API. In this repo, @typescript-eslint uses the latest version of typescript. However, the next version has changes that have not supported by @typescript-eslint yet.

"typescript": "next",

Can we use the stable version of the TypeScipt in dependencies?

cc @DanielRosenwasser @RyanCavanaugh @weswigham @sandersn @orta

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.