Add and fix stylistic eslint rules (#23735)

* Fix stylistic eslint rules

* Fix eslint issues
This commit is contained in:
Wendelin
2025-01-14 21:00:14 +01:00
committed by GitHub
parent 69a93ddb6e
commit e703750136
582 changed files with 12485 additions and 13451 deletions

View File

@@ -37,7 +37,7 @@ export class HaSortable extends LitElement {
public disabled = false;
@property({ type: Boolean, attribute: "no-style" })
public noStyle: boolean = false;
public noStyle = false;
@property({ type: String, attribute: "draggable-selector" })
public draggableSelector?: string;
@@ -56,13 +56,13 @@ export class HaSortable extends LitElement {
public group?: string | SortableInstance.GroupOptions;
@property({ type: Boolean, attribute: "invert-swap" })
public invertSwap: boolean = false;
public invertSwap = false;
@property({ attribute: false })
public options?: HaSortableOptions;
@property({ type: Boolean })
public rollback: boolean = true;
public rollback = true;
protected updated(changedProperties: PropertyValues<this>) {
if (changedProperties.has("disabled")) {