2.1.0 • Published 6 years ago
eslint-config-iplayer-legacy v2.1.0
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"
}
}