README
@vidispine/eslint-config
Add vdt eslint config
Usage
- Add @vidispine/eslint-config and eslint (7.x) as devDependencies,
- Extend config in package.json or equivalent file, e.g.:
"eslintConfig": {
"extends": [
"@vidispine"
]
}
Using VSCode
- Install ESLint plugin for VSCode
- Allow eslint for this workspace
- Open Command Palette (CTRL+SHIFT+P) > ESLint: Manage Library Execution > Allow
- Add this to .vscode/settings.json if you want to fix lint issues on save:
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},