9.4.6 • Published 9 months ago
eslint-config-iplayer v9.4.6
eslint-config-iplayer
The main eslint config for BBC iPlayer
Installation
npm install --save-dev eslint-config-iplayerUsage
Adding the following to your eslintConfig in package.json will import the iPlayer ES6 config rules:
{
"eslintConfig": {
"extends": "iplayer"
}
}jsx rules:
{
"eslintConfig": {
"extends": "iplayer/jsx"
}
}ts rules:
{
"eslintConfig": {
"extends": "iplayer/ts"
}
}tsx rules:
{
"eslintConfig": {
"extends": "iplayer/tsx"
}
}base rules:
{
"eslintConfig": {
"extends": "iplayer/base"
}
}legacy rules:
{
"eslintConfig": {
"extends": "iplayer/legacy"
}
}This package currently sets the default ECMAScript Version to be 9 for the base rules, with the legacy rules set to use ECMAScript Version 5. If you require a different version you can change it like so:
{
"eslintConfig": {
"extends": "iplayer"
},
"parserOptions": {
"ecmaVersion": 6
}
}9.4.6
9 months ago
9.4.5
9 months ago
9.4.4
9 months ago
9.4.3
9 months ago
9.4.2
9 months ago
9.4.1
9 months ago
9.4.0
9 months ago
9.3.0
10 months ago
10.0.0-beta.2
10 months ago
10.0.0-beta.1
10 months ago
9.2.0
2 years ago
9.1.0
2 years ago
9.0.0
3 years ago
8.0.0
5 years ago
7.0.0
6 years ago
6.2.1
7 years ago
6.2.0
7 years ago
6.1.0
7 years ago
6.0.0
8 years ago
5.0.0
8 years ago