Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@uvarovag/prettier-config

uvarovag3MIT1.0.7

Shared Prettier configuration for TypeScript and React projects

prettier, prettier-config, code-style, formatting, shared-config, coding-standards

readme

prettier-config

Shared Prettier configuration for TypeScript and React projects.

Installation

To use this configuration in your project, install the necessary dependencies:

npm install --save-dev @uvarovag/prettier-config prettier

Usage

Step 1: Create a .prettierrc file

"@uvarovag/prettier-config"

Step 2: Format your code

prettier --write '**/*.{ts,tsx,js,json,css,html,md}'