@vidispine/prettier-config

Add vdt prettier config

Usage no npm install needed!

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

README

@vidispine/prettier-config

Add vdt prettier config

Usage

  1. Add @vidispine/prettier-config and prettier (2.x) as devDependencies
  2. Add prettier config in package.json or equivalent file, e.g.:
"prettier": "@vidispine/prettier-config"

Using VSCode

  1. Install Prettier plugin for VSCode
  2. Add this to settings.json for format on save/paste and a ruler line as guidance:
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.rulers": [
    100
],