mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 16:06:21 +00:00
02e2e402c3
As the title says, this commit is a massive overhaul. I've rewritten/restrucuted almost everything in the controller scripts. Because of that, there's a considerable possibility that I've broken something somewhere. Notable changes: Added temporary uploads. Removed file name length changer from dashboard, in favor of an equivalent in homepage config tab. This allows non-registered users to also set file name length. A bunch of other undocmented stuff. I don't know, I'm too tired to remember them all.
38 lines
559 B
JSON
38 lines
559 B
JSON
{
|
|
"root": true,
|
|
"parserOptions": {
|
|
"ecmaVersion": 8
|
|
},
|
|
"env": {
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"standard"
|
|
],
|
|
"rules": {
|
|
"curly": [
|
|
"error",
|
|
"multi",
|
|
"consistent"
|
|
],
|
|
"no-throw-literal": 0,
|
|
"no-var": "error",
|
|
"prefer-const": [
|
|
"error",
|
|
{
|
|
"destructuring": "any",
|
|
"ignoreReadBeforeAssign": false
|
|
}
|
|
],
|
|
"object-shorthand": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"standard/no-callback-literal": 0
|
|
}
|
|
}
|