WISEflow's base Prettier config.
yarn add --dev prettier @uniwise/prettier-config
After installing, update your project's .prettierrc.js
file to import the rule sets you want:
module.exports = {
...require('@uniwise/prettier-config'),
// your overrides here
};
To run a prettier style check:
yarn prettier --check src/
And to fix style errors:
yarn prettier --write src/
Read the Prettier config docs for more information.