@bjeco/prettier-config

Portable configuration for Prettier

Usage no npm install needed!

<script type="module">
  import bjecoPrettierConfig from 'https://cdn.skypack.dev/@bjeco/prettier-config';
</script>

README

prettier-config

npm (scoped)

Portable configuration for Prettier

Install

yarn add -D @bjeco/prettier-config

This configuration is turn-key and includes all dependencies as well as the preset.

Setup

Add a "prettier" parameter to the package.json file which specifies the shared config:

{
  "name": "my-library",
  "version": "9000.0.1",
  "prettier": "@bjeco/prettier-config"
}

Prettier configuration settings

TODO

  • Add VSCode plugin and settings for auto fix setup