eslint-config-iplayer-ts

eslint config for iPlayer Typescript modules

Apache-2.0 7 个版本
安装
npm install eslint-config-iplayer-ts
yarn add eslint-config-iplayer-ts
pnpm add eslint-config-iplayer-ts
bun add eslint-config-iplayer-ts
README

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,
  }
}
版本列表
4.1.1 2023-05-24
4.1.0 2022-06-21
4.0.0 2021-11-22
3.1.0 2020-09-14
3.0.0 2020-08-26
2.0.0 2019-10-01
1.0.0 2019-06-28