Personal prettier config
Go to file
dependabot[bot] 75ed194b6a
Bump micromatch from 4.0.5 to 4.0.8
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 23:19:37 +00:00
.gitignore config 2023-10-03 14:37:05 +02:00
index.js don't group @ 2023-10-31 21:24:39 +01:00
package.json don't group @ 2023-10-31 21:24:39 +01:00
pnpm-lock.yaml Bump micromatch from 4.0.5 to 4.0.8 2024-09-05 23:19:37 +00:00
README.md svelte recipe 2023-11-11 12:21:57 +01:00

Prettier Config

Installation

pnpm add -D @nicco.io/prettier
// .prettierrc.js

import config from '@nicco.io/prettier'

export default {
  ...config,
}

Included

Recipes

Svelte

// .prettierrc.js
import preset from '@nicco.io/prettier'

export default {
  ...preset,
  overrides: [{ files: '*.svelte', options: { parser: 'svelte' } }],
  plugins: [...preset.plugins, 'prettier-plugin-svelte'],
}