File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33All 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
Original file line number Diff line number Diff line change 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+ ] ;
You can’t perform that action at this time.
0 commit comments