mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-14 00:16:21 +00:00
6496b03b71
Updated deps. Re-enabled eslint rule no-async-promise-executor. Updated some codes to follow the said rule. Though I had to disable the rule in a line at utilsController.js due to complexity. I'll give it more thoughts in the future. Bumped v1 version string.
36 lines
493 B
JSON
36 lines
493 B
JSON
{
|
|
"root": true,
|
|
"parserOptions": {
|
|
"ecmaVersion": 8
|
|
},
|
|
"env": {
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"standard"
|
|
],
|
|
"rules": {
|
|
"curly": [
|
|
"error",
|
|
"multi",
|
|
"consistent"
|
|
],
|
|
"prefer-const": [
|
|
"error",
|
|
{
|
|
"destructuring": "any",
|
|
"ignoreReadBeforeAssign": false
|
|
}
|
|
],
|
|
"object-shorthand": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"no-var": "error"
|
|
}
|
|
}
|