porsche-design-system / prettier-config

A globally standardized Prettier configuration that can be used with different projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A globally standardized Prettier configuration that can be used with different projects.

License:MIT License