![]() Configure the IntelliJ Prettier PluginĪgain, click on “File” > “Settings…” to open the IntelliJ “Settings” window. This configuration file defines the rules Prettier will follow when formatting your code. prettierrc.json file in the root folder of your project and initializes it as follows: Īs explained in the official documentation, the Prettier configuration file can be a JSON, YAML, TOML, or JavaScript file. Now, you need a valid Prettier configuration file. If you have problems installing the Prettier plugin, follow the official IntelliJ guide on installing plugins. Then, click “OK” to close the “Settings” window. Click on “Install” to install the Prettier plugin for IntelliJ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |