filesafe/.eslintrc.json
Bobby Wibowo 02e2e402c3
!!! MASSIVE OVERHAUL !!!
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.
2019-09-08 08:56:29 +07:00

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