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