Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 711 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 711 Bytes

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-dev

If you prefer Yarn, use the following command instead:

yarn add @porsche-design-system/prettier-config --dev

Usage

Requires that Prettier is already set up.

  1. Edit prettier.config.js:
module.exports = {
  // ...
  ...require('@porsche-design-system/prettier-config')
};

License

  • MIT