eslint-config-iplayer-legacy
v2.1.0
Published
Eslint config for iPlayer legacy JavaScript
Downloads
25
Maintainers
Readme
eslint-config-iplayer-legacy
Shared eslint config for iPlayer Javascript that needs to support legacy browsers
Notable rule exceptions
- Warns when cyclomatic complex exceeds 5
- 'use strict' is only set as a warning
Installation
npm install --save-dev eslint-config-iplayer-legacy
Usage
Add the following to your package.json
:
{
"eslintConfig": {
"extends": "iplayer-legacy"
}
}