@vidispine/eslint-config

24.1.0 • Public • Published

@vidispine/eslint-config

Vdt's preferred react and typescript config

Usage

  1. Add @vidispine/eslint-config and eslint (8.x) as devDependencies,
    • Also uses @vidispine/eslint-config-typescript to lint *.ts and *.tsx files.
  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
},

Readme

Keywords

none

Package Sidebar

Install

npm i @vidispine/eslint-config

Weekly Downloads

3

Version

24.1.0

License

SEE LICENSE IN LICENSE.md

Unpacked Size

13.1 kB

Total Files

5

Last publish

Collaborators

  • alexreinecke
  • vidispine-owner