@tekminewe/prettier-config
v0.1.4
Published
Shared prettier config for consistent coding style
Readme
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
.prettierrcin 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
prettierand enjoy your pretty codes.
npm run prettier