-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update typescript-estree to 5.x #11676
Update typescript-estree to 5.x #11676
Conversation
0fd9a3e
to
6d8cd94
Compare
=====================================input====================================== | ||
type Foo = | ||
// prettier-ignore | ||
( | ||
aa | ||
); | ||
|
||
=====================================output===================================== | ||
type Foo = | ||
// prettier-ignore | ||
aa; | ||
|
||
================================================================================ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TSParenthesizedType
node is removed, so we cannot keep parens wrap types with prettier-ignore
typescript-eslint/typescript-eslint#3340
6d8cd94
to
261507a
Compare
@@ -1,54 +1,18 @@ | |||
"use strict"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename as postprocess/index.js
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
Description
Closes #11668
Updates typescript-estree to 5.x.
Official release note
Notable changes:
TSParenthesizedType
node.prettier-ignore
formatting will be broken. (Update typescript-estree to 5.x #11676 (comment))ClassProperty
is now calledPropertyDefinition
TSAbstractClassProperty
is now calledTSAbstractPropertyDefinition
TSAbstractPropertyDefinition.value
is now alwaysnull
PrivateIdentifier
TSPrivateIdentifier
.Checklist
✨Try the playground for this PR✨