diff --git a/apps/buffgym/.eslintrc.json b/apps/buffgym/.eslintrc.json deleted file mode 100644 index aaae0a0cb..000000000 --- a/apps/buffgym/.eslintrc.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "env": { - "browser": true, - "commonjs": true, - "es6": true - }, - "extends": "eslint:recommended", - "globals": { - "Atomics": "readonly", - "SharedArrayBuffer": "readonly" - }, - "parserOptions": { - "ecmaVersion": 2018 - }, - "rules": { - "indent": [ - "error", - 2, - { "SwitchCase": 1 } - ], - "linebreak-style": [ - "error", - "windows" - ], - "quotes": [ - "error", - "double" - ] - /*, - "semi": [ - "error", - "always" - ]*/ - } -} \ No newline at end of file diff --git a/apps/slpquiet/.eslintrc.json b/apps/slpquiet/.eslintrc.json deleted file mode 100644 index 47db25057..000000000 --- a/apps/slpquiet/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "globals": { - "sleeplog": "readonly" - } -} diff --git a/apps/slpquiet/boot.js b/apps/slpquiet/boot.js index 65d9340c0..0fae1d78c 100644 --- a/apps/slpquiet/boot.js +++ b/apps/slpquiet/boot.js @@ -2,7 +2,7 @@ if (typeof (global.sleeplog || {}).trigger === "object") { // then add your parameters with the function to call as object into the trigger object - sleeplog.trigger["quietMode"] = { + global.sleeplog.trigger["quietMode"] = { onChange: true, // false as default, if true call fn only on a status change from: 0, // 0 as default, in ms, first time fn will be called // to: 24*60*60*1000, // 24h as default, in ms, last time fn will be called