7da97e2933
Semicolon rule enforced as the main lbry-app uses semicolons!
40 lines
696 B
Text
40 lines
696 B
Text
{
|
|
"extends": "standard",
|
|
"env": {
|
|
"es6": true,
|
|
"jest": true,
|
|
"node": true
|
|
},
|
|
"globals": {
|
|
"GENTLY": true
|
|
},
|
|
"rules": {
|
|
"no-multi-spaces": 0,
|
|
"new-cap": 0,
|
|
"prefer-promise-reject-errors":0,
|
|
"comma-dangle": [
|
|
"error",
|
|
"always-multiline"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always",
|
|
{ "omitLastInOneLineBlock": true }
|
|
],
|
|
"key-spacing": [
|
|
"error",
|
|
{
|
|
"multiLine": {
|
|
"beforeColon": false,
|
|
"afterColon": true
|
|
},
|
|
"align": {
|
|
"beforeColon": false,
|
|
"afterColon": true,
|
|
"on": "colon",
|
|
"mode": "strict"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|