https://github.com/hypernym-studio/prettier-config
Hypernym's internal config for Prettier.
https://github.com/hypernym-studio/prettier-config
config configuration esm presets prettier prettier-config shareable
Last synced: 28 days ago
JSON representation
Hypernym's internal config for Prettier.
- Host: GitHub
- URL: https://github.com/hypernym-studio/prettier-config
- Owner: hypernym-studio
- License: mit
- Created: 2023-06-29T15:44:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-16T16:12:35.000Z (2 months ago)
- Last Synced: 2025-08-16T16:48:54.961Z (2 months ago)
- Topics: config, configuration, esm, presets, prettier, prettier-config, shareable
- Language: TypeScript
- Homepage:
- Size: 157 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
- Codeowners: .github/codeowners
Awesome Lists containing this project
README
@hypernym/prettier-config
Hypernym's internal config for Prettier.
Repository
✦
Package
✦
Releases
✦
Discussions
pnpm add -D @hypernym/prettier-config
## Usage
### Formatting Commands
Add a `format` command for manual formatting (optional):
```js
// package.json{
"scripts": {
"format": "prettier --write ."
}
}
```### Default Config
```js
// prettier.config.mjsexport { default } from '@hypernym/prettier-config'
```### Svelte/SvelteKit
> [!NOTE]
>
> Install the required `Svelte` dev dependencies before using:
>
> ```sh
> pnpm add -D prettier-plugin-svelte
> ``````js
// prettier.config.mjsexport { default } from '@hypernym/prettier-config/svelte'
```## Custom Setup
```js
// prettier.config.mjsimport base from '@hypernym/prettier-config'
/** @type {import("prettier").Config} */
const config = {
...base,
singleQuote: false,
// ...
}export default config
```## License
Developed in 🇭🇷 Croatia, © Hypernym Studio.
Released under the [MIT](LICENSE.txt) license.