- Install
prettier
and the config@harastaivan/prettier-config
:
npm install -D prettier
npm install -D @harastaivan/prettier-config
- Create a file called
prettier.config.js
in the root of the project:
module.exports = require('@harastaivan/prettier-config');