2017-06-17 22:51:30 +02:00
|
|
|
{
|
2018-11-11 05:41:00 +01:00
|
|
|
"parser": "babel-eslint",
|
2018-02-22 02:02:57 +01:00
|
|
|
"extends": ["standard", "standard-jsx"],
|
2017-06-17 22:51:30 +02:00
|
|
|
"env": {
|
|
|
|
"es6": true,
|
|
|
|
"jest": true,
|
2018-02-22 02:02:57 +01:00
|
|
|
"node": true,
|
|
|
|
"browser": true
|
2017-06-17 22:51:30 +02:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"GENTLY": true
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"no-multi-spaces": 0,
|
|
|
|
"new-cap": 0,
|
2018-11-11 01:32:43 +01:00
|
|
|
"prefer-promise-reject-errors": 0,
|
|
|
|
"no-unused-vars": 0,
|
|
|
|
"standard/object-curly-even-spacing": 0,
|
|
|
|
"handle-callback-err": 0,
|
|
|
|
"one-var": 0,
|
2018-11-11 05:41:00 +01:00
|
|
|
"object-curly-spacing": 0,
|
2018-11-11 01:32:43 +01:00
|
|
|
"comma-dangle": ["error", "always-multiline"],
|
|
|
|
"semi": ["error", "always", { "omitLastInOneLineBlock": true }],
|
2017-06-17 22:51:30 +02:00
|
|
|
"key-spacing": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"multiLine": {
|
|
|
|
"beforeColon": false,
|
|
|
|
"afterColon": true
|
|
|
|
},
|
|
|
|
"align": {
|
|
|
|
"beforeColon": false,
|
|
|
|
"afterColon": true,
|
|
|
|
"on": "colon",
|
|
|
|
"mode": "strict"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|