@switchbot/homebridge-switchbot 3.5.0-beta.55 → 3.5.0-beta.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/eslint.config.js +55 -55
  2. package/package.json +2 -2
package/eslint.config.js CHANGED
@@ -1,6 +1,6 @@
1
- import globals from "globals";
2
- import pluginJs from "@eslint/js";
3
- import tseslint from "typescript-eslint";
1
+ import globals from 'globals';
2
+ import pluginJs from '@eslint/js';
3
+ import tseslint from 'typescript-eslint';
4
4
 
5
5
 
6
6
  export default [
@@ -8,78 +8,78 @@ export default [
8
8
  pluginJs.configs.recommended,
9
9
  ...tseslint.configs.recommended,
10
10
  {
11
- ignores: [".dist/*"]
11
+ ignores: ['.dist/*'],
12
12
  },
13
13
  {
14
14
  rules: {
15
- "quotes": [
16
- "warn",
17
- "single"
15
+ 'quotes': [
16
+ 'warn',
17
+ 'single',
18
18
  ],
19
- "indent": [
20
- "warn",
19
+ 'indent': [
20
+ 'warn',
21
21
  2,
22
22
  {
23
- "SwitchCase": 1
24
- }
23
+ 'SwitchCase': 1,
24
+ },
25
25
  ],
26
- "linebreak-style": [
27
- "warn",
28
- "unix"
26
+ 'linebreak-style': [
27
+ 'warn',
28
+ 'unix',
29
29
  ],
30
- "semi": [
31
- "warn",
32
- "always"
30
+ 'semi': [
31
+ 'warn',
32
+ 'always',
33
33
  ],
34
- "comma-dangle": [
35
- "warn",
36
- "always-multiline"
34
+ 'comma-dangle': [
35
+ 'warn',
36
+ 'always-multiline',
37
37
  ],
38
- "dot-notation": "off",
39
- "eqeqeq": "warn",
40
- "curly": [
41
- "warn",
42
- "all"
38
+ 'dot-notation': 'off',
39
+ 'eqeqeq': 'warn',
40
+ 'curly': [
41
+ 'warn',
42
+ 'all',
43
43
  ],
44
- "brace-style": [
45
- "warn"
44
+ 'brace-style': [
45
+ 'warn',
46
46
  ],
47
- "prefer-arrow-callback": [
48
- "warn"
47
+ 'prefer-arrow-callback': [
48
+ 'warn',
49
49
  ],
50
- "max-len": [
51
- "warn",
52
- 150
50
+ 'max-len': [
51
+ 'warn',
52
+ 150,
53
53
  ],
54
- "no-console": [
55
- "warn"
54
+ 'no-console': [
55
+ 'warn',
56
56
  ], // use the provided Homebridge log method instead
57
- "no-non-null-assertion": [
58
- "off"
57
+ 'no-non-null-assertion': [
58
+ 'off',
59
59
  ],
60
- "comma-spacing": [
61
- "error"
60
+ 'comma-spacing': [
61
+ 'error',
62
62
  ],
63
- "no-multi-spaces": [
64
- "warn",
63
+ 'no-multi-spaces': [
64
+ 'warn',
65
65
  {
66
- "ignoreEOLComments": true
67
- }
66
+ 'ignoreEOLComments': true,
67
+ },
68
68
  ],
69
- "no-trailing-spaces": [
70
- "warn"
69
+ 'no-trailing-spaces': [
70
+ 'warn',
71
71
  ],
72
- "lines-between-class-members": [
73
- "warn",
74
- "always",
72
+ 'lines-between-class-members': [
73
+ 'warn',
74
+ 'always',
75
75
  {
76
- "exceptAfterSingleLine": true
77
- }
76
+ 'exceptAfterSingleLine': true,
77
+ },
78
78
  ],
79
- "@typescript-eslint/explicit-function-return-type": "off",
80
- "@typescript-eslint/no-non-null-assertion": "off",
81
- "@typescript-eslint/explicit-module-boundary-types": "off",
82
- "@typescript-eslint/no-explicit-any": "off"
83
- }
84
- }
79
+ '@typescript-eslint/explicit-function-return-type': 'off',
80
+ '@typescript-eslint/no-non-null-assertion': 'off',
81
+ '@typescript-eslint/explicit-module-boundary-types': 'off',
82
+ '@typescript-eslint/no-explicit-any': 'off',
83
+ },
84
+ },
85
85
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "SwitchBot",
3
3
  "name": "@switchbot/homebridge-switchbot",
4
- "version": "3.5.0-beta.55",
4
+ "version": "3.5.0-beta.56",
5
5
  "description": "The SwitchBot plugin allows you to access your SwitchBot device(s) from HomeKit.",
6
6
  "author": {
7
7
  "name": "SwitchBot",
@@ -85,7 +85,7 @@
85
85
  "undici": "^6.17.0"
86
86
  },
87
87
  "optionalDependencies": {
88
- "node-switchbot": "2.1.0"
88
+ "node-switchbot": "2.1.1-beta.0"
89
89
  },
90
90
  "devDependencies": {
91
91
  "@eslint/js": "^9.3.0",