eslint-config-iplayer-ts
v4.1.1 eslint eslintconfig
eslint-config-iplayer-ts
eslint config for BBC iPlayer Typescript projects.
Other useful iPlayer eslint configs:
- eslint-config-iplayer-tsx
- eslint-config-iplayer-jsx
- eslint-config-iplayer
- eslint-config-iplayer-legacy
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
- Apache-2.0
- Whatever
- [email protected]
- released 5/24/2023