My personal Prettier config.
npm install --save-dev @joaopalmeiro/prettier-config
or
yarn add --dev @joaopalmeiro/prettier-config
or
pnpm add --save-dev @joaopalmeiro/prettier-config
or
bun add --dev @joaopalmeiro/prettier-config
To use this configuration, choose one of the options below.
{
"prettier": "@joaopalmeiro/prettier-config"
}
"@joaopalmeiro/prettier-config"
Check the Configuration Overrides and Sharing configurations sections in the Prettier documentation to learn how to override this configuration.
Check out the Awesome Prettier repo.
Install fnm (if necessary).
fnm install && fnm use && node --version && npm --version
npm install
npm run lint
npm run format
npm pack --dry-run
npm version patch
npm version minor
npm version major
- Update the version in the
Licenses
link at the top. - Commit and push changes.
- Create a tag on GitHub Desktop.
- Check GitHub.
npm login
npm publish
- Check npm.