redhat-developer / yaml-language-server

Language Server for YAML Files
MIT License
1.1k stars 264 forks source link

Update to Prettier 3 #909

Open remcohaszing opened 1 year ago

remcohaszing commented 1 year ago

What does this PR do?

This updates Prettier to version 3.

Alternatively the formatting functionality could be removed. IMO people should just use Prettier themselves for formatting YAML instead of relying on this yaml-language-server.

What issues does this PR fix or reference?

N/A

Is it tested? How?

npm test
coveralls commented 1 year ago

Coverage Status

coverage: 84.181% (+0.007%) from 84.174% when pulling 678e80a588ffc13ad33b5187adcbdb41714da7cc on remcohaszing:prettier-3 into f039273ee5b6974db5ad34b03bb24cfe09b64447 on redhat-developer:main.

artola commented 1 year ago

@msivasubramaniaan This would be a nice enhancement to support Prettier v3, otherwise we are forced deliver 2 versions of Prettier within our app.