Answers for "vs code stop prettier"

1

enable prettier vscode

ext install esbenp.prettier-vscode
Posted by: Guest on March-01-2020
0

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:

{}
Posted by: Guest on February-01-2022

Code answers related to "vs code stop prettier"

Code answers related to "Javascript"

Browse Popular Code Answers by Language