-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed as not planned
Labels
enhancementNew feature or requestNew feature or requestpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeIssues related to @typescript-eslint/typescript-estreewontfixThis will not be worked onThis will not be worked on
Description
Before You File a Proposal Please Confirm You Have Done The Following...
- I have searched for related issues and found none that match my proposal.
- I have searched the current rule list and found no rules that match my proposal.
- I have read the FAQ and my problem is not listed.
Relevant Package
ast-spec
My proposal is suitable for this project
- I believe my proposal would be useful to the broader TypeScript community (meaning it is not a niche proposal).
Description
I was going to clean up the decorator print part in Prettier, because we check decorators on every node for some historical reason.
Currently, we have decorators in the following node types
'AccessorProperty',
'ArrayPattern',
'AssignmentPattern',
'ClassDeclaration',
'ClassExpression',
'Identifier',
'MethodDefinition',
'ObjectPattern',
'PropertyDefinition',
'RestElement',
'TSAbstractAccessorProperty',
'TSAbstractPropertyDefinition',
'TSParameterProperty'
I don't think they are correct, but I don't know the correct answer either.
Additional Info
Same request in Babel babel/babel#17525
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeIssues related to @typescript-eslint/typescript-estreewontfixThis will not be worked onThis will not be worked on