-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## [3.5.0](https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v3.5.0) (2024-05-26) ### What's Changed - Add Support for `Water Detector` - Add Support for `Battery Circulator Fan` - Add BLE support for `Smart Lock` - Add `K10+` deviceType Support - Add Support for `maxRetries` and `delayBetweenRetries` on OpenAPI status refreshes based on [#959](#959 (comment)), Thanks [@sametguzeldev](https://github.com/sametguzeldev) - Major Refactoring of `device` and `irdevice` files. - Housekeeping and updated dependencies. **Full Changelog**: v3.4.0...v3.5.0
- Loading branch information
1 parent
d0acb3b
commit 6beef47
Showing
42 changed files
with
12,567 additions
and
17,526 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
import pluginJs from '@eslint/js'; | ||
import tseslint from 'typescript-eslint'; | ||
import stylistic from '@stylistic/eslint-plugin' | ||
|
||
|
||
export default tseslint.config({ | ||
plugins: { | ||
'@stylistic': stylistic, | ||
'@typescript-eslint': tseslint.plugin, | ||
}, | ||
languageOptions: { | ||
parser: tseslint.parser, | ||
parserOptions: { | ||
project: true, | ||
}, | ||
}, | ||
files: ['**/*.ts'], | ||
ignores: ['.dist/*'], | ||
extends: [ | ||
pluginJs.configs.recommended, | ||
...tseslint.configs.recommended, | ||
], | ||
rules: { | ||
'@typescript-eslint/array-type': 'error', | ||
'@typescript-eslint/consistent-type-imports': 'error', | ||
'@stylistic/type-annotation-spacing': 'error', | ||
'@stylistic/quotes': [ | ||
'warn', | ||
'single', | ||
], | ||
'@stylistic/indent': [ | ||
'warn', | ||
2, | ||
{ | ||
'SwitchCase': 1, | ||
}, | ||
], | ||
'@stylistic/linebreak-style': [ | ||
'warn', | ||
'unix', | ||
], | ||
'@stylistic/semi': [ | ||
'warn', | ||
'always', | ||
], | ||
'@stylistic/comma-dangle': [ | ||
'warn', | ||
'always-multiline', | ||
], | ||
'@stylistic/dot-notation': 'off', | ||
'eqeqeq': 'warn', | ||
'curly': [ | ||
'warn', | ||
'all', | ||
], | ||
'@stylistic/brace-style': [ | ||
'warn', | ||
], | ||
'prefer-arrow-callback': [ | ||
'warn', | ||
], | ||
'@stylistic/max-len': [ | ||
'warn', | ||
150, | ||
], | ||
'no-console': [ | ||
'warn', | ||
], // use the provided Homebridge log method instead | ||
'no-non-null-assertion': [ | ||
'off', | ||
], | ||
'@stylistic/comma-spacing': [ | ||
'error', | ||
], | ||
'@stylistic/no-multi-spaces': [ | ||
'warn', | ||
{ | ||
'ignoreEOLComments': true, | ||
}, | ||
], | ||
'@stylistic/no-trailing-spaces': [ | ||
'warn', | ||
], | ||
'@stylistic/lines-between-class-members': [ | ||
'warn', | ||
'always', | ||
{ | ||
'exceptAfterSingleLine': true, | ||
}, | ||
], | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
'@typescript-eslint/no-non-null-assertion': 'off', | ||
'@typescript-eslint/explicit-module-boundary-types': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
}, | ||
}); |
Oops, something went wrong.