Skip to content

Repository files navigation

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": "*"
  }
}

About

Shared Prettier config for my projects

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages