Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
Fixed eslint
Update readme and docs
Updated version to 1.3.2
  • Loading branch information
bropat committed Sep 10, 2024
1 parent e76479b commit 3fa381b
Show file tree
Hide file tree
Showing 11 changed files with 259 additions and 165 deletions.
134 changes: 67 additions & 67 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,69 +1,69 @@
module.exports = {
root: true, // Don't look outside this project for inherited configs
parser: "@typescript-eslint/parser", // Specifies the ESLint parser
parserOptions: {
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
sourceType: "module", // Allows for the use of imports
project: "./tsconfig.json",
},
extends: [
"plugin:@typescript-eslint/recommended", // Uses the recommended rules from the @typescript-eslint/eslint-plugin
],
plugins: [],
rules: {
"indent": "off",
"@typescript-eslint/indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"quotes": [
"error",
"double",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-use-before-define": [
"error",
{
functions: false,
typedefs: false,
classes: false,
},
],
"@typescript-eslint/no-unused-vars": [
"error",
{
ignoreRestSiblings: true,
argsIgnorePattern: "^_",
},
],
"@typescript-eslint/explicit-function-return-type": [
"warn",
{
allowExpressions: true,
allowTypedFunctionExpressions: true,
},
],
"@typescript-eslint/no-object-literal-type-assertion": "off",
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/no-non-null-assertion": "off", // This is necessary for Map.has()/get()!
"no-var": "error",
"prefer-const": "error",
"no-trailing-spaces": "error",
},
overrides: [
{
files: ["*.test.ts"],
rules: {
"@typescript-eslint/explicit-function-return-type": "off",
},
},
],
root: true, // Don't look outside this project for inherited configs
parser: "@typescript-eslint/parser", // Specifies the ESLint parser
parserOptions: {
ecmaVersion: "latest", // Allows for the parsing of modern ECMAScript features
sourceType: "module", // Allows for the use of imports
project: "./tsconfig.json",
},
extends: [
"plugin:@typescript-eslint/recommended", // Uses the recommended rules from the @typescript-eslint/eslint-plugin
],
plugins: [],
rules: {
"indent": "off",
"@typescript-eslint/indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"quotes": [
"error",
"double",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-use-before-define": [
"error",
{
functions: false,
typedefs: false,
classes: false,
},
],
"@typescript-eslint/no-unused-vars": [
"error",
{
ignoreRestSiblings: true,
argsIgnorePattern: "^_",
},
],
"@typescript-eslint/explicit-function-return-type": [
"warn",
{
allowExpressions: true,
allowTypedFunctionExpressions: true,
},
],
"@typescript-eslint/no-object-literal-type-assertion": "off",
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/no-non-null-assertion": "off", // This is necessary for Map.has()/get()!
"no-var": "error",
"prefer-const": "error",
"no-trailing-spaces": "error",
},
overrides: [
{
files: ["*.test.ts"],
rules: {
"@typescript-eslint/explicit-function-return-type": "off",
},
},
],
};
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ Best is to set the adapter to Debug log mode (see [here](https://bropat.github.i

## Changelog

### 1.3.2 (2024-09-10)

* (bropat) Fixed issue #440

### 1.3.1 (2024-09-08)

* (bropat) Fixed issue #436
Expand Down
2 changes: 1 addition & 1 deletion build/lib/video.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/lib/video.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/_coverpage.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![logo](_media/ioBroker.euSec.png)

# ioBroker.euSec <small>1.3.1</small>
# ioBroker.euSec <small>1.3.2</small>

> An [ioBroker](https://www.iobroker.net) adapter that uses the [eufy-security-client](https://github.com/bropat/eufy-security-client) library to comunicate with Eufy devices
Expand Down
15 changes: 14 additions & 1 deletion io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
{
"common": {
"name": "eusec",
"version": "1.3.1",
"version": "1.3.2",
"news": {
"1.3.2": {
"en": "Fixed issue #440\n",
"uk": "Fixed issue #440\n",
"de": "Problem #440 behoben\n",
"ru": "Исправлена проблема #440\n",
"pt": "Corrigido o problema #440\n",
"nl": "Probleem #440 opgelost\n",
"fr": "Correction du problème #440\n",
"it": "Risolto il problema #440\n",
"es": "Solucionado el problema #440\n",
"pl": "Naprawiono błąd #440\n",
"zh-cn": "修正問題 #440\n"
},
"1.3.1": {
"en": "Fixed issues #436, #439\n",
"uk": "Fixed issues #436, #439\n",
Expand Down
Loading

0 comments on commit 3fa381b

Please sign in to comment.