-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Open
Labels
Description
💻
- Would you like to work on this feature?
What problem are you trying to solve?
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
'AssignmentPattern',
'ClassAccessorProperty',
'ClassDeclaration',
'ClassExpression',
'ClassMethod',
'ClassPrivateMethod',
'ClassPrivateProperty',
'ClassProperty',
'Identifier',
'ObjectMethod',
'ObjectPattern',
'ObjectProperty',
'TSDeclareMethod'
I don't think they are correct, but I don't know the correct answer either.
Describe the solution you'd like
N/A
Describe alternatives you've considered
N/A
Documentation, Adoption, Migration Strategy
Same request in typescript-eslint typescript-eslint/typescript-eslint#11630
Reactions are currently unavailable