diff --git a/config.schema.json b/config.schema.json index 04bf9be..f10414f 100644 --- a/config.schema.json +++ b/config.schema.json @@ -94,11 +94,7 @@ "type": "string", "placeholder": "POST", "typeahead": { - "source": [ - "GET", - "POST", - "PUT" - ] + "source": ["GET", "POST", "PUT"] } }, "headers": { @@ -235,10 +231,7 @@ "description": "for failed HTTP requests", "type": "fieldset", "expandable": true, - "items": [ - "max_http_attempts", - "retry_delay" - ] + "items": ["max_http_attempts", "retry_delay"] } ] } @@ -346,10 +339,7 @@ "description": "Calibrate blind movement times", "type": "fieldset", "expandable": true, - "items": [ - "motion_time", - "response_lag" - ] + "items": ["motion_time", "response_lag"] }, { "type": "fieldset", @@ -380,10 +370,7 @@ "title": "Additional Options", "type": "fieldset", "expandable": true, - "items": [ - "verbose", - "unique_serial" - ] + "items": ["verbose", "unique_serial"] } ] } diff --git a/package.json b/package.json index 1e06525..cf74a53 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "homebridge-blinds", - "version": "1.3.21", + "version": "1.3.22", "description": "A homebridge plugin to control my blinds", "main": "index.js", "scripts": { - "format": "prettier --write *.js", + "format": "prettier --write config.schema.json *.js", "lint": "eslint *.js", "test": "echo \"Error: no test specified\" && exit" }, @@ -39,7 +39,7 @@ "selfsigned": "^1.10.7" }, "devDependencies": { - "eslint": "^7.3.1", + "eslint": "^7.4.0", "prettier": "^2.0.5", "rimraf": "^3.0.2" }