@vidispine/eslint-config

Add vdt eslint config

Usage no npm install needed!

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

README

@vidispine/eslint-config

Add vdt eslint config

Usage

  1. Add @vidispine/eslint-config and eslint (7.x) as devDependencies,
  2. Extend config in package.json or equivalent file, e.g.:
"eslintConfig": {
  "extends": [
    "@vidispine"
  ]
}

Using VSCode

  1. Install ESLint plugin for VSCode
  2. Allow eslint for this workspace
    • Open Command Palette (CTRL+SHIFT+P) > ESLint: Manage Library Execution > Allow
  3. Add this to .vscode/settings.json if you want to fix lint issues on save:
"editor.codeActionsOnSave": {
  "source.fixAll.eslint": true
},