Skip to content

Upgrade typescript-eslint to v2 #7529

Closed

Description

@iansu

v2 supports ESLint 6. However it also includes a number of breaking changes so we need to determine if any of them will impact our users: https://github.com/typescript-eslint/typescript-eslint/releases/tag/v2.0.0

Activity

  1. chibicode commented on Aug 14, 2019

    @chibicode
    Contributor

    @typescript-eslint/no-angle-bracket-type-assertion is deprecated. So we need to change this line:

    https://github.com/facebook/create-react-app/blob/4410f5ec30783cc60360b6e2306b95eead56c015/packages/eslint-config-react-app/index.js#L81

    It's now called @typescript-eslint/consistent-type-assertions. I believe it can be set as:

    { assertionStyle: 'as', objectLiteralTypeAssertions: 'allow' }

    Not so sure about objectLiteralTypeAssertions though. There wasn't any existing rule on our config related to this.

  2. self-assigned this
    on Sep 9, 2019
  3. GLoganDR commented on Sep 11, 2019

    @GLoganDR

    Is there a release ETA for this? I see it's already been PRed and merged. Great job and thanks, btw! 👍

  4. locked and limited conversation to collaborators on Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions