0.1.4 • Published 1 year ago
@tekminewe/prettier-config v0.1.4
prettier-config
Prettier is the key to keeping all your codes in a consistent style and format, and no more asking your teammates to set the tab width to 2.
Getting Started
- Install the package.
pnpm i @tekminewe/prettier-config
- Create
.prettierrc
in the root of your project with following content.
"@tekminewe/prettier-config"
- Add the script in your
package.json
.
"scripts": {
// Your other scripts
"prettier": "npx prettier --write ."
}
- Run
prettier
and enjoy your pretty codes.
npm run prettier