fisker Cheung
fisker Cheung
> Would you be open to reviewing my proposed changes for this issue? Yes.
Since we already aligned AST with typescript-eslint in Babel 8, this issue should has been fixed. Maybe a double check needed.
Can be related to #16583
I'm working on it.
@Ma-hawaj This should be good enough to merge, but some other cases need to be improved. Eg https://github.com/prettier/prettier/pull/16617#discussion_r1794833149, #16743 , and the TODO comment in code.
This is known issue, but I can't find the original issue.
This doesn't fix the problem, **Prettier pr-16583** [Playground link](https://deploy-preview-16583--prettier.netlify.app/playground/#N4Igxg9gdgLgprEAuEALAjAAmAHSpzAWkIHkAxMpAgegCpNyzNbqBuPA4xqm+x5thyKkKPXgwoD2+YdwLy6Epi2mcRleQr6SVQrqM1alUvAF88IADQgIABxgBLaAGdkoAIYAnTxADuABS8EVxR3ABtfdwBPV2sAI093MABrOBgAZXcAWzgAGQcoOGQAM3DnOHjElLT02ySCgHNkGE8AVwqQcqyHZraOuAAPWzhPBxzYcIAVEagvBzgQ0rDy62dGsLgARVaIeBKyjoArZwH09a2dvaQllZAAR0u4fx9bEJB3Z0JCuAATX6sQC13A4wo0AMIQLJZdzId5hMIAtZQBobACCMBaDjirXg-hG+UK+2WHVQMCyYQA6qgHPBnHUwHB0sEaQ4AG40qKwsDOWIgVntACSUD+sHSYFG9lRwvSMCiGyJt1sPnKFMStlhSoWI1ZRWsBXKnhgz3cDWhCo6dU8Bq5PIBSoKMApDh+MFQyAAHAAGayeOAPBy+42mmHXA7WGDuOJOl1upAAJmsrXKk0jizDIDgWTivz+P1y7mRrRNcDIEE80IxjVh7hxEBAplMQA) ```sh --parser css ``` **Input:** ```css h1 { --OFF: /* OFF */; --OFF: /* OFF */; --OFF: /* OFF */; --OFF:...
I'll take a look.
@sosukesuzuki Can you take a look?
Not sure how did you run it, As I tested, with some modifications ```diff - import prettier from 'prettier'; + import * as prettier from "prettier"; - console.og(newCode) + console.og(newCode)...