nestjsnestjs-config

How to disable prettier in nest js


I'm using Nest JS, but Prettier keeps bothering me with formatting errors while I'm trying to develop. It's frustrating because it distracts me from actual coding. How can I turn off Prettier just for now and then turn it on again when I want?

I tried removing format from the package.json file, but that didn't help.


Solution

  • that's not related with nestjs itself.

    Just remove the package using npm uninstall prettier and the configuration file .prettierrc, as any other nodejs library.