Open MikeMcC399 opened 1 month ago
I noticed we're not actually using Prettier to format our code. Should we remove it?
@gweesin
I noticed we're not actually using Prettier to format our code. Should we remove it?
I don't believe that removing prettier
is an option, since it is used to migrate legacy user configuration files to current formats if the user has prettier
installed:
This section of code requires updating to migrate to prettier@3
as it otherwise generates a TypeScript error:
TS2322: Type 'Promise
' is not assignable to type 'string'.
What would you like?
latest
).Why is this needed?
The npm module @types/prettier is deprecated and the source information has been deleted from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prettier. The Blog post for Prettier 3.0: Hello, ECMAScript Modules! includes in an API section the information:
Other
PR #66073
Where used:
"@types/prettier": "2.4.3"
"prettier": "2.5.1"
latest
is currently3.3.3