0.1.1 • Published 1 year ago
@tgarif/prettier-config v0.1.1
@tgarif/prettier-config
- Single quotes, semi
- 100 print width, 2 tab width
- Trailing commas wherever possible
- Spaces between bracket
- Omit parentheses when possible
- Line feed
Usage
Install
npm i -D @tgarif/prettier-config
Config .prettierrc.json
"@tgarif/prettier-config"
Config VS Code auto fix
{
"prettier.enable": true,
"editor.formatOnSave": true
}
License
MIT License © 2023-PRESENT Tengku Arif