filesafe/.eslintrc.json
Bobby Wibowo 715c821c14
Updates
* 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.
2018-05-01 00:32:50 +07:00

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
}
}
]
}