tgarif / prettier-config

Tgarif config for Prettier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@tgarif/prettier-config

npm

  • 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

About

Tgarif config for Prettier

License:MIT License


Languages

Language:JavaScript 100.0%