Sveltek's config for Prettier.
pnpm add -D @sveltek/prettier-config
Add a format
command for manual formatting (optional):
{
"scripts": {
"format": "prettier --write ."
}
}
export { default } from '@sveltek/prettier-config'
import base from '@sveltek/prettier-config'
/** @type {import("prettier").Config} */
const config = {
...base,
singleQuote: false,
// ...
}
export default config
Feel free to ask questions or share new ideas.
Use the official discussions to get involved.
Developed in ðŸ‡ðŸ‡· Croatia, © Sveltek.
Released under the MIT license.