1.0.2 • Published 4 years ago
@pqkluan/rn-prettier-config v1.0.2
@pqkluan/rn-prettier-config
Personal prettier config for react-native project
How-to-use
Install this module as dev dependency
yarn add --dev @pqkluan/rn-prettier-config
(Optional) Remove exists prettier config file.
To apply this module config, add "prettier" key in your package.json
file.
{
// ...
"prettier": "@pqkluan/rn-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