Skip to content

Commit b43da63

Browse files
v2.1.1 (#245)
## [2.1.1](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v2.1.1) (2024-05-26) ### What's Changed - Housekeeping and update dependencies **Full Changelog**: v2.1.0...v2.1.1
1 parent 88fce02 commit b43da63

File tree

5 files changed

+4671
-640
lines changed

5 files changed

+4671
-640
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/)
44

5+
## [2.1.1](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v2.1.1) (2024-05-26)
6+
7+
### What's Changed
8+
- Housekeeping and update dependencies
9+
10+
**Full Changelog**: https://github.com/OpenWonderLabs/node-switchbot/compare/v2.1.0...v2.1.1
11+
512
## [2.1.0](https://github.com/OpenWonderLabs/node-switchbot/releases/tag/v2.1.0) (2024-05-14)
613

714
### What's Changed

eslint.config.js

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
import globals from "globals";
2+
import pluginJs from "@eslint/js";
3+
import tseslint from "typescript-eslint";
4+
5+
6+
export default [
7+
{ languageOptions: { globals: globals.browser } },
8+
pluginJs.configs.recommended,
9+
...tseslint.configs.recommended,
10+
{
11+
ignores: [".dist/*"]
12+
},
13+
{
14+
rules: {
15+
"quotes": [
16+
"warn",
17+
"single"
18+
],
19+
"indent": [
20+
"warn",
21+
2,
22+
{
23+
"SwitchCase": 1
24+
}
25+
],
26+
"linebreak-style": [
27+
"warn",
28+
"unix"
29+
],
30+
"semi": [
31+
"warn",
32+
"always"
33+
],
34+
"comma-dangle": [
35+
"warn",
36+
"always-multiline"
37+
],
38+
"dot-notation": "off",
39+
"eqeqeq": "warn",
40+
"curly": [
41+
"warn",
42+
"all"
43+
],
44+
"brace-style": [
45+
"warn"
46+
],
47+
"prefer-arrow-callback": [
48+
"warn"
49+
],
50+
"max-len": [
51+
"warn",
52+
150
53+
],
54+
"no-console": [
55+
"warn"
56+
], // use the provided Homebridge log method instead
57+
"no-non-null-assertion": [
58+
"off"
59+
],
60+
"comma-spacing": [
61+
"error"
62+
],
63+
"no-multi-spaces": [
64+
"warn",
65+
{
66+
"ignoreEOLComments": true
67+
}
68+
],
69+
"no-trailing-spaces": [
70+
"warn"
71+
],
72+
"lines-between-class-members": [
73+
"warn",
74+
"always",
75+
{
76+
"exceptAfterSingleLine": true
77+
}
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+
}
85+
];

0 commit comments

Comments
 (0)