This is prettier configuration used in Ingrid AB projects. To use it you need to install it first:
npm install @ingridab/prettier-config
Then create prettier.config.js
file inside root of your project with
following contents:
module.exports = require('@ingridab/prettier-config');
And your are ready to go 🚀.
If you need to override some settings:
module.exports = Object.assign(
require("@ingridab/prettier-config/prettier.config"),
{
//add overrides here
singleQuote: true,
bracketSpacing: true,
}
);