3.2.4 • Published 6 months ago

@hypernym/prettier-config v3.2.4

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

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 '@hypernym/prettier-config'

Svelte/SvelteKit

!NOTE

Install the required Svelte dev dependencies before using:

pnpm add -D prettier-plugin-svelte
// prettier.config.js

export { default } from '@hypernym/prettier-config/svelte'

Custom Setup

// prettier.config.js

import base from '@hypernym/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, © Hypernym Studio.

Released under the MIT license.

3.2.2

9 months ago

3.2.1

12 months ago

3.2.4

6 months ago

3.2.3

8 months ago

3.2.0

1 year ago

3.1.0

1 year ago

3.0.1

1 year ago

2.0.4

2 years ago

3.0.0

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago