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
@typescript-eslint/no-angle-bracket-type-assertion
is deprecated. So we need to change this line:
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.
Is there a release ETA for this? I see it's already been PRed and merged. Great job and thanks, btw! 馃憤
Most helpful comment
@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:Not so sure about
objectLiteralTypeAssertions
though. There wasn't any existing rule on our config related to this.