diff --git a/docs/updates/20220827_jsonconfig_vscode.md b/docs/updates/20220827_jsonconfig_vscode.md index 0fe93befe..7133d5956 100644 --- a/docs/updates/20220827_jsonconfig_vscode.md +++ b/docs/updates/20220827_jsonconfig_vscode.md @@ -9,7 +9,7 @@ If you want to have syntax help for JSON Config in VSCode, open `.vscode/setting "admin/jsonCustom.json", "admin/jsonTab.json" ], - "url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json" + "url": "https://raw.githubusercontent.com/ioBroker/ioBroker.admin/master/packages/jsonConfig/schemas/jsonConfig.json" } ``` @@ -29,7 +29,7 @@ The file should look like this afterwards: "admin/jsonCustom.json", "admin/jsonTab.json" ], - "url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json" + "url": "https://raw.githubusercontent.com/ioBroker/ioBroker.admin/master/packages/jsonConfig/schemas/jsonConfig.json" } ] } diff --git a/templates/_vscode/settings.json.ts b/templates/_vscode/settings.json.ts index 9280f736c..ad42f3936 100644 --- a/templates/_vscode/settings.json.ts +++ b/templates/_vscode/settings.json.ts @@ -35,7 +35,7 @@ ${usePrettier ? (` "admin/jsonCustom.json", "admin/jsonTab.json" ], - "url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json" + "url": "https://raw.githubusercontent.com/ioBroker/ioBroker.admin/master/packages/jsonConfig/schemas/jsonConfig.json" } ], } diff --git a/test/baselines/TS_Prettier/.vscode/settings.json b/test/baselines/TS_Prettier/.vscode/settings.json index 97990fc51..83d39ca62 100644 --- a/test/baselines/TS_Prettier/.vscode/settings.json +++ b/test/baselines/TS_Prettier/.vscode/settings.json @@ -15,7 +15,7 @@ }, { "fileMatch": ["admin/jsonConfig.json", "admin/jsonCustom.json", "admin/jsonTab.json"], - "url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json" + "url": "https://raw.githubusercontent.com/ioBroker/ioBroker.admin/master/packages/jsonConfig/schemas/jsonConfig.json" } ] } diff --git a/test/baselines/TS_SingleQuotes/src/main.ts b/test/baselines/TS_SingleQuotes/src/main.ts index 141ccf46e..07a43aced 100644 --- a/test/baselines/TS_SingleQuotes/src/main.ts +++ b/test/baselines/TS_SingleQuotes/src/main.ts @@ -73,11 +73,11 @@ class TestAdapter extends utils.Adapter { await this.setStateAsync('testVariable', { val: true, ack: true, expire: 30 }); // examples for the checkPassword/checkGroup functions - let result = await this.checkPasswordAsync('admin', 'iobroker'); - this.log.info('check user admin pw iobroker: ' + result); + const pwdResult = await this.checkPasswordAsync('admin', 'iobroker'); + this.log.info('check user admin pw iobroker: ' + pwdResult); - result = await this.checkGroupAsync('admin', 'admin'); - this.log.info('check group user admin group admin: ' + result); + const gropupResult = await this.checkGroupAsync('admin', 'admin'); + this.log.info('check group user admin group admin: ' + gropupResult); } /** diff --git a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.vscode/settings.json b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.vscode/settings.json index 93ae17496..a85148f87 100644 --- a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.vscode/settings.json +++ b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/.vscode/settings.json @@ -13,7 +13,7 @@ "admin/jsonCustom.json", "admin/jsonTab.json" ], - "url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json" + "url": "https://raw.githubusercontent.com/ioBroker/ioBroker.admin/master/packages/jsonConfig/schemas/jsonConfig.json" } ] } \ No newline at end of file diff --git a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/main.js b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/main.js index 46ff3b551..78ea43243 100644 --- a/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/main.js +++ b/test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/main.js @@ -78,11 +78,11 @@ class TestAdapter extends utils.Adapter { await this.setStateAsync('testVariable', { val: true, ack: true, expire: 30 }); // examples for the checkPassword/checkGroup functions - let result = await this.checkPasswordAsync('admin', 'iobroker'); - this.log.info('check user admin pw iobroker: ' + result); + const pwdResult = await this.checkPasswordAsync('admin', 'iobroker'); + this.log.info('check user admin pw iobroker: ' + pwdResult); - result = await this.checkGroupAsync('admin', 'admin'); - this.log.info('check group user admin group admin: ' + result); + const gropupResult = await this.checkGroupAsync('admin', 'admin'); + this.log.info('check group user admin group admin: ' + gropupResult); } /** diff --git a/test/baselines/adapter_JS_React/.vscode/settings.json b/test/baselines/adapter_JS_React/.vscode/settings.json index 4483d681d..17ea5dc1f 100644 --- a/test/baselines/adapter_JS_React/.vscode/settings.json +++ b/test/baselines/adapter_JS_React/.vscode/settings.json @@ -13,7 +13,7 @@ "admin/jsonCustom.json", "admin/jsonTab.json" ], - "url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json" + "url": "https://raw.githubusercontent.com/ioBroker/ioBroker.admin/master/packages/jsonConfig/schemas/jsonConfig.json" } ] } \ No newline at end of file diff --git a/test/baselines/adapter_JS_React/main.js b/test/baselines/adapter_JS_React/main.js index 9090950b4..b1b9c6ee8 100644 --- a/test/baselines/adapter_JS_React/main.js +++ b/test/baselines/adapter_JS_React/main.js @@ -78,11 +78,11 @@ class TestAdapter extends utils.Adapter { await this.setStateAsync("testVariable", { val: true, ack: true, expire: 30 }); // examples for the checkPassword/checkGroup functions - let result = await this.checkPasswordAsync("admin", "iobroker"); - this.log.info("check user admin pw iobroker: " + result); + const pwdResult = await this.checkPasswordAsync("admin", "iobroker"); + this.log.info("check user admin pw iobroker: " + pwdResult); - result = await this.checkGroupAsync("admin", "admin"); - this.log.info("check group user admin group admin: " + result); + const gropupResult = await this.checkGroupAsync("admin", "admin"); + this.log.info("check group user admin group admin: " + gropupResult); } /** diff --git a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.vscode/settings.json b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.vscode/settings.json index bcddaeb22..212e17202 100644 --- a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.vscode/settings.json +++ b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/.vscode/settings.json @@ -14,7 +14,7 @@ "admin/jsonCustom.json", "admin/jsonTab.json" ], - "url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json" + "url": "https://raw.githubusercontent.com/ioBroker/ioBroker.admin/master/packages/jsonConfig/schemas/jsonConfig.json" } ] } \ No newline at end of file diff --git a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/src/main.ts b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/src/main.ts index cf6dae6a5..182992023 100644 --- a/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/src/main.ts +++ b/test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/src/main.ts @@ -73,11 +73,11 @@ class TestAdapter extends utils.Adapter { await this.setStateAsync("testVariable", { val: true, ack: true, expire: 30 }); // examples for the checkPassword/checkGroup functions - let result = await this.checkPasswordAsync("admin", "iobroker"); - this.log.info("check user admin pw iobroker: " + result); + const pwdResult = await this.checkPasswordAsync("admin", "iobroker"); + this.log.info("check user admin pw iobroker: " + pwdResult); - result = await this.checkGroupAsync("admin", "admin"); - this.log.info("check group user admin group admin: " + result); + const gropupResult = await this.checkGroupAsync("admin", "admin"); + this.log.info("check group user admin group admin: " + gropupResult); } /** diff --git a/test/baselines/adapter_TS_React/.vscode/settings.json b/test/baselines/adapter_TS_React/.vscode/settings.json index bcddaeb22..212e17202 100644 --- a/test/baselines/adapter_TS_React/.vscode/settings.json +++ b/test/baselines/adapter_TS_React/.vscode/settings.json @@ -14,7 +14,7 @@ "admin/jsonCustom.json", "admin/jsonTab.json" ], - "url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json" + "url": "https://raw.githubusercontent.com/ioBroker/ioBroker.admin/master/packages/jsonConfig/schemas/jsonConfig.json" } ] } \ No newline at end of file diff --git a/test/baselines/adapter_TS_React/src/main.ts b/test/baselines/adapter_TS_React/src/main.ts index cf6dae6a5..182992023 100644 --- a/test/baselines/adapter_TS_React/src/main.ts +++ b/test/baselines/adapter_TS_React/src/main.ts @@ -73,11 +73,11 @@ class TestAdapter extends utils.Adapter { await this.setStateAsync("testVariable", { val: true, ack: true, expire: 30 }); // examples for the checkPassword/checkGroup functions - let result = await this.checkPasswordAsync("admin", "iobroker"); - this.log.info("check user admin pw iobroker: " + result); + const pwdResult = await this.checkPasswordAsync("admin", "iobroker"); + this.log.info("check user admin pw iobroker: " + pwdResult); - result = await this.checkGroupAsync("admin", "admin"); - this.log.info("check group user admin group admin: " + result); + const gropupResult = await this.checkGroupAsync("admin", "admin"); + this.log.info("check group user admin group admin: " + gropupResult); } /** diff --git a/test/baselines/connectionIndicator_yes/src/main.ts b/test/baselines/connectionIndicator_yes/src/main.ts index f25f4db68..600da0b36 100644 --- a/test/baselines/connectionIndicator_yes/src/main.ts +++ b/test/baselines/connectionIndicator_yes/src/main.ts @@ -76,11 +76,11 @@ class TestAdapter extends utils.Adapter { await this.setStateAsync("testVariable", { val: true, ack: true, expire: 30 }); // examples for the checkPassword/checkGroup functions - let result = await this.checkPasswordAsync("admin", "iobroker"); - this.log.info("check user admin pw iobroker: " + result); + const pwdResult = await this.checkPasswordAsync("admin", "iobroker"); + this.log.info("check user admin pw iobroker: " + pwdResult); - result = await this.checkGroupAsync("admin", "admin"); - this.log.info("check group user admin group admin: " + result); + const gropupResult = await this.checkGroupAsync("admin", "admin"); + this.log.info("check group user admin group admin: " + gropupResult); } /** diff --git a/test/baselines/customAdapterSettings/src/main.ts b/test/baselines/customAdapterSettings/src/main.ts index afb7870ce..77929ed91 100644 --- a/test/baselines/customAdapterSettings/src/main.ts +++ b/test/baselines/customAdapterSettings/src/main.ts @@ -73,11 +73,11 @@ class TestAdapter extends utils.Adapter { await this.setStateAsync("testVariable", { val: true, ack: true, expire: 30 }); // examples for the checkPassword/checkGroup functions - let result = await this.checkPasswordAsync("admin", "iobroker"); - this.log.info("check user admin pw iobroker: " + result); + const pwdResult = await this.checkPasswordAsync("admin", "iobroker"); + this.log.info("check user admin pw iobroker: " + pwdResult); - result = await this.checkGroupAsync("admin", "admin"); - this.log.info("check group user admin group admin: " + result); + const gropupResult = await this.checkGroupAsync("admin", "admin"); + this.log.info("check group user admin group admin: " + gropupResult); } /** diff --git a/test/baselines/vis_Widget/widgets/test-widget/js/test-widget.js b/test/baselines/vis_Widget/widgets/test-widget/js/test-widget.js index 8b7404d27..948477479 100644 --- a/test/baselines/vis_Widget/widgets/test-widget/js/test-widget.js +++ b/test/baselines/vis_Widget/widgets/test-widget/js/test-widget.js @@ -60,7 +60,7 @@ vis.binds["test-widget"] = { $("#" + widgetID).html(text); // subscribe on updates of value - function onChange(e, newVal, oldVal) { + function onChange(e, newVal, _oldVal) { $div.find(".template-value").html(newVal); } if (data.oid) {