prettier/README.md

24 lines
273 B
Markdown
Raw Normal View History

2023-10-03 12:38:32 +00:00
# Prettier Config
## Installation
```bash
2023-10-06 20:24:30 +00:00
pnpm add -D @nicco.io/prettier
2023-10-03 12:38:32 +00:00
```
```javascript
// .prettierrc.js
2023-10-06 20:24:30 +00:00
import config from '@nicco.io/prettier'
2023-10-03 12:38:32 +00:00
export default {
...config,
}
```
## Included
- Sort imports
- Sort package.json
- Some custom preference settings