1.0.5 • Published 6 years ago
@financial-times/eslint-config-ip-wxp v1.0.5
eslint-config-ip-wxp
This is the eslint config used by the worker experience team.
It uses airbnb as it's base with the below extras:
- parser - babel-eslint is used for better es6 support
- environments - (browser, es6, mocha, node)
- rules -
no-unused-expressions
is disabled so chai can be used
Installation
Install via npm npm i -D @financial-times/eslint-config-ip-wxp
Usage
This module can be used via package.json
:
"eslintConfig": {
"extends": [
"@financial-times/ip-wxp"
]
},
or .eslintrc.js
{
extends: [
'@financial-times/ip-wxp'
]
}
Licence
MIT