Feb 14, 2022 · Continue Reading: How to set up React on Windows. We will start by installing the Prettier extension for VS Code. Once you have installed it, you can use it with CTRL + CMD + P (MacOS) or CTRL + Shift + P (Windows) to manually format a file or a selection of code. If you don't want to format your file with the given shortcut manually every time .... Indeed, ESLint has formatting rules too like max-len (similar to printWidth) or quotes . Well, if you use Prettier , you aren't going to need such rules. Prettier replaces ESLint's formatting rules.