Personal prettier config
Go to file
2023-11-21 10:47:43 +01: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 @babel/traverse from 7.23.0 to 7.23.2 2023-10-19 13:25:30 +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'],
}