@salesforce/prettier-config
Version:
The prettier config for Salesforce projects
22 lines (13 loc) • 529 B
Markdown
Salesforce prettier configuration for all projects.
First install this package.
```bash
yarn add @salesforce/prettier-config
```
Then extend this configuration in your own prettier file.
Here is an example using a `.prettierrc.json` file.
```javascript
"@salesforce/prettier-config"
```
**Note:** You can use [@salesforce/dev-scripts](https://github.com/forcedotcom/dev-scripts/) to set this up along with all other configuration files related to a Salesforce typescript project.