enable prettier vscode
ext install esbenp.prettier-vscode
enable prettier vscode
ext install esbenp.prettier-vscode
disable prettier in VSCode for a specific project
Ref. article : https://dev.to/gulshansaini/how-to-disable-prettier-in-vscode-for-a-specific-project-2a48
Other option is to enable Prettier only when a configuration file is present in the project.
To enable this option open VSCode settings:
On Windows/Linux - File > Preferences > Settings
On macOS - Code > Preferences > Settings
Search for "Prettier:Require Config" and make sure it is checked
So how does this work?
By turning on this option, Prettier will only work for the projects having valid .prettierrc file.
A valid .prettierrc could be as simple as having just opening and closing curly braces as follows:
{}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us