Studion Prettier config 💄.
If you are using VSCode, install the following extension
Run the command:
$ npm i -D prettier @studion/prettier-config- Edit
package.json:
- OR create
.prettierrc.jsfile if you need to override the base config:
constbaseConfig=require("@studion/prettier-config");module.export={
...baseConfig,trailingComma: "none",};
{ // ..."prettier": "@studion/prettier-config" }