mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 16:06:21 +00:00
715c821c14
* Bumped node requirement to >= 8.0.0 (due to async/await). * Moved ESLint config to .eslintrc.json. * Moved ESLint ignore to .eslintignore. * Bumped ESLint's ecmaVersion to 8, although it was probably already automatically set to that before. * Bugfix line 110 of albumsController.js.
45 lines
603 B
JSON
45 lines
603 B
JSON
{
|
|
"root": true,
|
|
"parserOptions": {
|
|
"ecmaVersion": 8
|
|
},
|
|
"env": {
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"standard"
|
|
],
|
|
"rules": {
|
|
"curly": [
|
|
"error",
|
|
"all"
|
|
],
|
|
"prefer-const": [
|
|
"error",
|
|
{
|
|
"destructuring": "any",
|
|
"ignoreReadBeforeAssign": false
|
|
}
|
|
],
|
|
"object-shorthand": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"no-var": "error"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"public/**/*.js"
|
|
],
|
|
"env": {
|
|
"browser": true
|
|
}
|
|
}
|
|
]
|
|
}
|