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