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
:
{
// ...
"prettier": "@studion/prettier-config"
}
- OR create
.prettierrc.js
file if you need to override the base config:
const baseConfig = require("@studion/prettier-config");
module.export = {
...baseConfig,
trailingComma: "none",
};