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}'