@vidispine/eslint-config-base

24.1.0 • Public • Published

@vidispine/eslint-config-base

Base eslint config

Usage

  1. Add @vidispine/eslint-config-base and eslint (8.x) as devDependencies
    • Also uses @vidispine/eslint-config-typescript to lint *.ts files.
  2. Extend config in package.json or equivalent file, e.g.:
"eslintConfig": {
  "extends": [
    "@vidispine/eslint-config-base"
  ]
}

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-base

Weekly Downloads

118

Version

24.1.0

License

SEE LICENSE IN LICENSE.md

Unpacked Size

14.2 kB

Total Files

5

Last publish

Collaborators

  • alexreinecke
  • vidispine-owner