2020-05-16 17:11:10 +00:00
|
|
|
module.exports = {
|
2018-04-30 17:32:50 +00:00
|
|
|
"root": true,
|
|
|
|
"parserOptions": {
|
2020-05-16 17:11:10 +00:00
|
|
|
"ecmaVersion": 9 // 2018
|
2018-04-30 17:32:50 +00:00
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"standard"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"curly": [
|
|
|
|
"error",
|
2018-12-18 17:41:42 +00:00
|
|
|
"multi",
|
|
|
|
"consistent"
|
2018-04-30 17:32:50 +00:00
|
|
|
],
|
2019-09-08 01:56:29 +00:00
|
|
|
"no-throw-literal": 0,
|
|
|
|
"no-var": "error",
|
2018-04-30 17:32:50 +00:00
|
|
|
"prefer-const": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"destructuring": "any",
|
|
|
|
"ignoreReadBeforeAssign": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"object-shorthand": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"single"
|
|
|
|
],
|
2019-09-08 01:56:29 +00:00
|
|
|
"standard/no-callback-literal": 0
|
2018-07-14 03:42:18 +00:00
|
|
|
}
|
2018-04-30 17:32:50 +00:00
|
|
|
}
|