@nharox/astro-prettier-config

1.6.1 • Public • Published

@nharox/astro-prettier-config

Shared Prettier config for Astro projects.

Installation

  1. Install package as a dev dependency
npm install --save-dev @nharox/astro-prettier-config
  1. Update package.json
{
  // ...
  "prettier": "@nharox/astro-prettier-config"
}
  1. Add the following script in your package.json
{
  // ...
  "scripts": {
    // ...
    "format": "prettier --write \"src/**/*.{astro,ts}\""
  }
}

Prettier Plugins

Package Sidebar

Install

npm i @nharox/astro-prettier-config

Weekly Downloads

3

Version

1.6.1

License

MIT

Unpacked Size

1.72 kB

Total Files

3

Last publish

Collaborators

  • nharox