1
0
Fork 0

Remove app-specific eslint configs

master
Anton 2024-03-16 19:28:00 +01:00
parent adb7e8a924
commit b8b783195c
3 changed files with 1 additions and 41 deletions

View File

@ -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"
]*/
}
}

View File

@ -1,5 +0,0 @@
{
"globals": {
"sleeplog": "readonly"
}
}

View File

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