eslint-config-iplayer-tsx
N.B: THIS PACKAGE IS STILL A WORK IN PROGRESS AND DOES NOT YET SUPPORT TYPESCRIPT 3
eslint config for BBC iPlayer React Typescript JSX projects.
Other useful iPlayer eslint configs:
Installation
npm install --save-dev eslint-config-iplayer-tsx
Usage
Add the following to your package.json
:
{
"eslintConfig": {
"extends": "iplayer-tsx"
}
}
This package currently sets the default ECMAScript Version to be 8. If you require a different version you can change it like so:
{
"eslintConfig": {
"extends": "iplayer-tsx"
},
"parserOptions": {
"ecmaVersion": 6,
}
}