4.1.1 • Published 12 months ago

eslint-config-iplayer-ts v4.1.1

Weekly downloads
210
License
Apache-2.0
Repository
github
Last release
12 months ago

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,
  }
}