1.0.0 • Published 7 months ago

@uvarovag/prettier-config-ts-react v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

prettier-config-ts-react

A 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-ts-react prettier

Usage

Step 1: Create a .prettierrc file

"@uvarovag/prettier-config-ts-react"

Step 2: Format your code

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