Personal prettier config for javascript projects
Install this module as dev dependency
yarn add --dev @pqkluan/prettier-config
(Optional) Remove exists prettier config file.
To apply this module config, add "prettier" key in your package.json
file.
{
// ...
"prettier": "@pqkluan/prettier-config"
}
(Optional) Update Visual Studio Code setting so editor rules will be the same with Prettier formatting rules
"editor.rulers": [100],
"editor.tabSize": 2,
"editor.insertSpaces": true
MIT