Open adil62 opened 7 months ago
We have a custom ESLINT rule and it gets the prettier config using the below code (prettier 2.0.8).
const printWidth = resolveConfig.sync(context.getFilename(), { useCache: true, editorconfig: true, })?.printWidth || 80;
I need to upgrade prettier to version 3.2.5, since resolveConfig.sync is removed in the latest version of Prettier how do I get the config using prettier-synchronized?
3.2.5
resolveConfig.sync
prettier-synchronized
Also what is prettierEntry ?
prettierEntry
We have a custom ESLINT rule and it gets the prettier config using the below code (prettier 2.0.8).
I need to upgrade prettier to version
3.2.5
, sinceresolveConfig.sync
is removed in the latest version of Prettier how do I get the config usingprettier-synchronized
?Also what is
prettierEntry
?