Skip to content

Commit

Permalink
push lint to version 9 and use it
Browse files Browse the repository at this point in the history
  • Loading branch information
PLCHome committed Aug 16, 2024
1 parent 91847a2 commit cd6f1c2
Show file tree
Hide file tree
Showing 29 changed files with 2,665 additions and 2,043 deletions.
72 changes: 32 additions & 40 deletions .create-adapter.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,33 @@
{
"cli": true,
"target": "directory",
"adapterName": "intex",
"title": "Intex",
"description": "Adapter for Intex Whirlpool",
"keywords": [
"intex",
"whirlpool"
],
"expert": "yes",
"features": [
"adapter"
],
"adminFeatures": [],
"type": "household",
"startMode": "daemon",
"connectionType": "cloud",
"dataSource": "poll",
"connectionIndicator": "yes",
"language": "JavaScript",
"adminReact": "no",
"tools": [
"ESLint",
"type checking"
],
"releaseScript": "no",
"devServer": "no",
"indentation": "Space (4)",
"quotes": "double",
"es6class": "yes",
"authorName": "TA2k",
"authorGithub": "TA2k",
"authorEmail": "[email protected]",
"gitRemoteProtocol": "HTTPS",
"gitCommit": "no",
"defaultBranch": "master",
"license": "MIT License",
"dependabot": "no",
"creatorVersion": "2.0.1"
}
"cli": true,
"target": "directory",
"adapterName": "intex",
"title": "Intex",
"description": "Adapter for Intex Whirlpool",
"keywords": ["intex", "whirlpool"],
"expert": "yes",
"features": ["adapter"],
"adminFeatures": [],
"type": "household",
"startMode": "daemon",
"connectionType": "cloud",
"dataSource": "poll",
"connectionIndicator": "yes",
"language": "JavaScript",
"adminReact": "no",
"tools": ["ESLint", "type checking"],
"releaseScript": "no",
"devServer": "no",
"indentation": "Space (4)",
"quotes": "double",
"es6class": "yes",
"authorName": "TA2k",
"authorGithub": "TA2k",
"authorEmail": "[email protected]",
"gitRemoteProtocol": "HTTPS",
"gitCommit": "no",
"defaultBranch": "master",
"license": "MIT License",
"dependabot": "no",
"creatorVersion": "2.0.1"
}
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

40 changes: 0 additions & 40 deletions .eslintrc.json

This file was deleted.

18 changes: 10 additions & 8 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
---
name: Bug report
about: Something is not working as it should
title: ''
labels: ''
assignees: ''
title: ""
labels: ""
assignees: ""
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '...'
3. Scroll down to '....'
Expand All @@ -22,11 +23,12 @@ A clear and concise description of what you expected to happen.
**Screenshots & Logfiles**
If applicable, add screenshots and logfiles to help explain your problem.

**Versions:**
- Adapter version: <adapter-version>
- JS-Controller version: <js-controller-version> <!-- determine this with `iobroker -v` on the console -->
- Node version: <node-version> <!-- determine this with `node -v` on the console -->
- Operating system: <os-name>
**Versions:**

- Adapter version: <adapter-version>
- JS-Controller version: <js-controller-version> <!-- determine this with `iobroker -v` on the console -->
- Node version: <node-version> <!-- determine this with `node -v` on the console -->
- Operating system: <os-name>

**Additional context**
Add any other context about the problem here.
16 changes: 8 additions & 8 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ name: Test and Release
on:
push:
branches:
- '*'
- "*"
tags:
# normal versions
- 'v[0-9]+.[0-9]+.[0-9]+'
- "v[0-9]+.[0-9]+.[0-9]+"
# pre-releases
- 'v[0-9]+.[0-9]+.[0-9]+-**'
- "v[0-9]+.[0-9]+.[0-9]+-**"

pull_request:
branches:
- '*'
- "*"

jobs:
# Performs quick checks before the expensive test runs
Expand Down Expand Up @@ -106,10 +106,10 @@ jobs:
- name: ioBroker testing action
uses: ioBroker/testing-action-adapter@v1

# - name: Publish package to npm
# uses: JS-DevTools/npm-publish@v1
# with:
# token: ${{ secrets.npm }}
# - name: Publish package to npm
# uses: JS-DevTools/npm-publish@v1
# with:
# token: ${{ secrets.npm }}

# Dummy job for skipped builds - without this, github reports the build as failed
skip-ci:
Expand Down
6 changes: 2 additions & 4 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"recommendations": [
"dbaeumer.vscode-eslint"
]
}
"recommendations": ["dbaeumer.vscode-eslint"]
}
18 changes: 8 additions & 10 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"eslint.enable": true,
"json.schemas": [
{
"fileMatch": [
"io-package.json"
],
"url": "https://json.schemastore.org/io-package"
}
]
}
"eslint.enable": true,
"json.schemas": [
{
"fileMatch": ["io-package.json"],
"url": "https://json.schemastore.org/io-package"
}
]
}
41 changes: 20 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
![Logo](admin/intex.png)

# ioBroker.intex

[![NPM version](https://img.shields.io/npm/v/iobroker.intex.svg)](https://www.npmjs.com/package/iobroker.intex)
Expand Down Expand Up @@ -36,7 +37,6 @@ IP address and port come from the cloud. If the IP address is the same, the pool

In this mode, the system only sends the control command and update command via the cloud.


##### Login

Enter the Intex app mail and password.
Expand All @@ -55,9 +55,8 @@ The IP address of the pool can be searched for using the search button. However,

"intex.0.-id-.control.-command-" set to true or false controls the pool command's state.



## Discussion and questions in German

https://forum.iobroker.net/topic/47932/test-intext-app-v0-0-x

## Changelog
Expand All @@ -66,6 +65,7 @@ https://forum.iobroker.net/topic/47932/test-intext-app-v0-0-x
Placeholder for the next version (at the beginning of the line):
### **WORK IN PROGRESS**
-->

### 0.1.7 (2024-08-13)

- (PLCHome) Fixed error.
Expand All @@ -77,51 +77,50 @@ https://forum.iobroker.net/topic/47932/test-intext-app-v0-0-x

### 0.1.5

* (PLCHome) spelling mistake sanitzer to sanitizer on status control.sanitizer and control.sanitizerTime corrected.
- (PLCHome) spelling mistake sanitzer to sanitizer on status control.sanitizer and control.sanitizerTime corrected.

### 0.1.4

* (PLCHome) Changing read-only objects, e.g. temperature, no longer causes a crash.
- (PLCHome) Changing read-only objects, e.g. temperature, no longer causes a crash.

### 0.1.3

* (PLCHome) The remaining time for the filter is corrected to the disinfection time if it is longer
- (PLCHome) The remaining time for the filter is corrected to the disinfection time if it is longer

### 0.1.2

* (PLCHome) Fixed filter remaining time on heating from 1 to -1 for infinity
- (PLCHome) Fixed filter remaining time on heating from 1 to -1 for infinity

### 0.1.1

* (PLCHome) Remaining time for filter and sanitizer added under control.
* (PLCHome) Refresh added under Control.
* (PLCHome) Remote deleted because Control can do it better.
- (PLCHome) Remaining time for filter and sanitizer added under control.
- (PLCHome) Refresh added under Control.
- (PLCHome) Remote deleted because Control can do it better.

### 0.1.0


* (rbartl/PLCHome) Support local IP. Both via cloud and only locally without cloud. Thanks to Austria to Robert Bartl.
* (PLCHome) Confirm directly after switching via Control.
- (rbartl/PLCHome) Support local IP. Both via cloud and only locally without cloud. Thanks to Austria to Robert Bartl.
- (PLCHome) Confirm directly after switching via Control.

### 0.0.7

* (PLCHome) Switching via remote works again.
* (PLCHome) After switching via Control, the previous traffic status can be transmitted from the cloud. This can lead to a toggling of the status.
- (PLCHome) Switching via remote works again.
- (PLCHome) After switching via Control, the previous traffic status can be transmitted from the cloud. This can lead to a toggling of the status.

### 0.0.6

* (PLCHome) Defined setting of states
* (PLCHome) Change Fahrenheit Celsius
* (PLCHome) "control.temperature", read only, object from 0.0.5 must be deleted once.
- (PLCHome) Defined setting of states
- (PLCHome) Change Fahrenheit Celsius
- (PLCHome) "control.temperature", read only, object from 0.0.5 must be deleted once.

### 0.0.5

* (PLCHome) Set temperature added, object must be deleted once.
* (PLCHome) Decoding of status information
- (PLCHome) Set temperature added, object must be deleted once.
- (PLCHome) Decoding of status information

### 0.0.1

* (TA2k) initial release
- (TA2k) initial release

## License

Expand Down
Loading

0 comments on commit cd6f1c2

Please sign in to comment.