// prettier.config.js
export { default } from '@amedia/prettier-config';
Svelte flavour:
// prettier.config.js
export { svelte as default } from '@amedia/prettier-config';
Notes
Requires Node 22+ and ESM ("type": "module" in package.json). For a plain
rule set without plugin loading, see
@amedia/prettier-config-base.
VS Code
The esbenp.prettier-vscode extension ships its own Prettier and may fail to
load this config with require() of ES Module ... not supported. Point the
extension at the project's Prettier instead: