1.0.0 • Published 7 months ago
@uvarovag/prettier-config-ts-react v1.0.0
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}'
1.0.0
7 months ago