1.0.1 • Published 2 years ago

@porsche-design-system/prettier-config v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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