A globally standardized Prettier configuration that can be used with different projects.
Run the following command using npm:
npm install @porsche-design-system/prettier-config --save-dev
If you prefer Yarn, use the following command instead:
yarn add @porsche-design-system/prettier-config --dev
Requires that Prettier is already set up.
- Edit
prettier.config.js
:
module.exports = {
// ...
...require('@porsche-design-system/prettier-config')
};
- MIT