Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
InstallationFollow the steps mentioned below to install the Prettier extension in your Visual Studio Code (VSCode).
Steps to install Prettier in VSCode
Sign of Prettier extension is loaded