README
@vidispine/prettier-config
Add vdt prettier config
Usage
- Add @vidispine/prettier-config and prettier (2.x) as devDependencies
- Add prettier config in package.json or equivalent file, e.g.:
"prettier": "@vidispine/prettier-config"
Using VSCode
- Install Prettier plugin for VSCode
- 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
],