Skip to content

Personal prettier config for react-native project

License

Notifications You must be signed in to change notification settings

pqkluan/prettier-config

Repository files navigation

@pqkluan/prettier-config

build version MIT License

Personal prettier config for javascript projects

How to use

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

License

MIT