Remove app-specific eslint configs
parent
adb7e8a924
commit
b8b783195c
|
|
@ -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"
|
|
||||||
]*/
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"globals": {
|
|
||||||
"sleeplog": "readonly"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
if (typeof (global.sleeplog || {}).trigger === "object") {
|
if (typeof (global.sleeplog || {}).trigger === "object") {
|
||||||
// then add your parameters with the function to call as object into the 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
|
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
|
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
|
// to: 24*60*60*1000, // 24h as default, in ms, last time fn will be called
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue