lednhatkhanh / prettier-config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My shareable prettier config

Install

  • Create a .npmrc file and add this line:
registry=https://npm.pkg.github.com/OWNER

and replace OWNER with your Github's username.

  • Run
npm i -D @lednhatkhanh/prettier-config
  • Add a .prettierrc file and add:
"@lednhatkhanh/prettier-config"
  • Create .vscode/settings.json file and add:
{
  "editor.formatOnSave": true
}

About


Languages

Language:JavaScript 100.0%