filesafe/public/js/.eslintrc.json
Bobby Wibowo ed7612bd89
Fix .eslintrc.json for client-side JS files
I can't remember why I extended the config with "eslint:recommended" instead of "standard" back then. I know I wanted to force an older ecmaversion, but even then it would still work just fine with standard.
I've fixed it now to use standard. I've also applied auto-fix to dashboard.js and home.js, which fixed some stray or missing whitespaces, as well as the indenting of case's inside switch statement.
2018-09-07 22:02:04 +07:00

23 lines
256 B
JSON

{
"root": true,
"parserOptions": {
"ecmaVersion": 5
},
"env": {
"browser": true
},
"extends": [
"standard"
],
"rules": {
"curly": [
"error",
"all"
],
"quotes": [
"error",
"single"
]
}
}