eslint-config-iplayer
The main eslint config for BBC iPlayer
Other useful iPlayer eslint configs:
Installation
npm install --save-dev eslint-config-iplayer
Usage
Add the following to your package.json
:
{
"eslintConfig": {
"extends": "iplayer"
}
}
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"
},
"parserOptions": {
"ecmaVersion": 6,
}
}