mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 19:09:48 +00:00
Add and fix stylistic eslint rules (#23735)
* Fix stylistic eslint rules * Fix eslint issues
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user