1.0.3 • Published 2 months ago

@sveltek/prettier-config v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Installation

pnpm add -D @sveltek/prettier-config

Usage

Formatting Commands

Add a format command for manual formatting (optional):

// package.json

{
  "scripts": {
    "format": "prettier --write ."
  }
}

Default Config

// prettier.config.js

export { default } from '@sveltek/prettier-config'

Custom Setup

// prettier.config.js

import base from '@sveltek/prettier-config'

/** @type {import("prettier").Config} */
const config = {
  ...base,
  singleQuote: false,
  // ...
}

export default config

Community

Feel free to ask questions or share new ideas.

Use the official discussions to get involved.

License

Developed in 🇭🇷 Croatia, © Sveltek.

Released under the MIT license.

1.0.3

2 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago