@v-ed/prettier-config
v0.3.0
Published
Shared Prettier config for my projects
Downloads
259
Readme
prettier-config
Shared Prettier config for my projects.
Install
npm install --save-dev @v-ed/prettier-config
Usage
package.json
{
"prettier": "@v-ed/prettier-config"
}
Take a look at Prettier's Configuration File docs to get other ways to use and extend this config.
Svelte
For projects using Svelte
, you can use the @v-ed/prettier-config/svelte
config, which adds the plugin declaration and the overrides for *.svelte
files.
package.json
{
"prettier": "@v-ed/prettier-config/svelte.cjs",
"devDependencies": {
"prettier-plugin-svelte": "*",
"svelte": "*"
}
}