0.2.0 • Published 1 year ago
@joaopalmeiro/prettier-astro-config v0.2.0
@joaopalmeiro/prettier-astro-config
My personal Prettier config for Astro projects.
Getting Started
Installation
npm install --save-dev @joaopalmeiro/prettier-astro-configor
yarn add --dev @joaopalmeiro/prettier-astro-configor
pnpm add --save-dev @joaopalmeiro/prettier-astro-configor
bun add --dev @joaopalmeiro/prettier-astro-configUsage
To use this configuration, choose one of the options below.
Edit the package.json file
{
"prettier": "@joaopalmeiro/prettier-astro-config"
}Create a .prettierrc file
"@joaopalmeiro/prettier-astro-config"Check the Configuration Overrides and Sharing configurations sections in the Prettier documentation to learn how to override this configuration.
References
Check out the Awesome Prettier repo.
Development
Install fnm (if necessary).
fnm install && fnm use && node --version && npm --versionnpm installnpm run lintnpm run formatDeployment
npm pack --dry-runnpm version patchnpm version minornpm version majorecho "v$(npm pkg get version | tr -d \")" | pbcopy- Commit and push changes.
- Create a tag on GitHub Desktop.
- Check GitLab.
npm loginnpm publish- Check npm.