mirror of
https://github.com/cupcakearmy/prettier.git
synced 2025-09-05 17:30:40 +00:00
readme
This commit is contained in:
23
README.md
Normal file
23
README.md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# 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
|
Reference in New Issue
Block a user