1.0.1 • Published 3 years ago
@porsche-design-system/prettier-config v1.0.1
Porsche Design System - Prettier Config
A globally standardized Prettier configuration that can be used with different projects.
Using the Prettier Config
Installation
Run the following command using npm:
npm install @porsche-design-system/prettier-config --save-devIf you prefer Yarn, use the following command instead:
yarn add @porsche-design-system/prettier-config --devUsage
Requires that Prettier is already set up.
- Edit
prettier.config.js:
module.exports = {
// ...
...require('@porsche-design-system/prettier-config')
};License
- MIT