filesafe/.eslintrc.js
Bobby Wibowo 9c56dd327a
Updated dependencies
systeminformation: 4.23.9 -> 4.26.1
eslint-plugin-compat: 3.5.1 -> 3.6.0

Renamed all .eslintrc.json to .eslintrc.js.

Removed unnecessary init for missing params in favor of default params.
Buble will take care of compiling that for old browsers.

Bumped ecmaVersion for client JS from 6 (2015) to 7 (2016).
Buble should support compiling ES2016 features as well.

Properly deny some actions when an online section is still loading.

Properly apply progress cursor on items/buttons that shouldn't be used
while an online section is still loading.

Bumped v1 version string and rebuilt client assets.
2020-05-17 00:11:10 +07:00

38 lines
584 B
JavaScript

module.exports = {
"root": true,
"parserOptions": {
"ecmaVersion": 9 // 2018
},
"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
}
}