joaopalmeiro / prettier-vue-config

My personal Prettier config for Vue/Nuxt projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@joaopalmeiro/prettier-vue-config

My personal Prettier config for Vue/Nuxt projects.

Getting Started

Installation

npm install --save-dev @joaopalmeiro/prettier-vue-config

or

yarn add --dev @joaopalmeiro/prettier-vue-config

or

pnpm add --save-dev @joaopalmeiro/prettier-vue-config

or

bun add --dev @joaopalmeiro/prettier-vue-config

Usage

To use this configuration, choose one of the options below.

Edit the package.json file

{
  "prettier": "@joaopalmeiro/prettier-vue-config"
}

Create a .prettierrc file

"@joaopalmeiro/prettier-vue-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 --version
npm install
npm run lint
npm run format

Deployment

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

About

My personal Prettier config for Vue/Nuxt projects.

License:MIT License