eslint-config-iplayer-ts

v4.1.1
eslint config for iPlayer Typescript modules
eslint eslintconfig

eslint-config-iplayer-ts

eslint config for BBC iPlayer Typescript projects.

Other useful iPlayer eslint configs:

Installation

npm install --save-dev eslint-config-iplayer-ts

Usage

Add the following to your package.json:

{
  "eslintConfig": {
    "extends": "iplayer-ts"
  }
}

This package currently sets the default ECMAScript Version to be 9. If you require a different version you can change it like so:

{
  "eslintConfig": {
    "extends": "iplayer-ts"
  },
  "parserOptions": {
    "ecmaVersion": 6,
  }
}
npm i eslint-config-iplayer-ts

Metadata

Downloads