mirror of
https://github.com/cupcakearmy/prettier.git
synced 2024-12-22 08:06:29 +00:00
24 lines
277 B
Markdown
24 lines
277 B
Markdown
|
# Prettier Config
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
```bash
|
||
|
pnpm add -D cupcakearmy-prettier
|
||
|
```
|
||
|
|
||
|
```javascript
|
||
|
// .prettierrc.js
|
||
|
|
||
|
import config from 'cupcakearmy-prettier'
|
||
|
|
||
|
export default {
|
||
|
...config,
|
||
|
}
|
||
|
```
|
||
|
|
||
|
## Included
|
||
|
|
||
|
- Sort imports
|
||
|
- Sort package.json
|
||
|
- Some custom preference settings
|