Fix ALL the eslint warnings (#23165)

* Fix many lint warnings

* Fix ALL lint warnings

* small fix

* type fixes
This commit is contained in:
Petar Petrov
2024-12-06 10:55:07 +02:00
committed by GitHub
parent f724d8e7a9
commit 7a12fd2853
308 changed files with 918 additions and 823 deletions

View File

@@ -11,15 +11,17 @@ import { NODE_SIZE, SPACING } from "./hat-graph-const";
*/
@customElement("hat-graph-node")
export class HatGraphNode extends LitElement {
@property() iconPath?: string;
@property({ attribute: false }) iconPath?: string;
@property({ type: Boolean, reflect: true }) public disabled = false;
@property({ type: Boolean }) public error = false;
@property({ reflect: true, type: Boolean }) notEnabled = false;
@property({ attribute: false, reflect: true, type: Boolean }) notEnabled =
false;
@property({ reflect: true, type: Boolean }) graphStart = false;
@property({ attribute: false, reflect: true, type: Boolean }) graphStart =
false;
@property({ type: Boolean, attribute: "nofocus" }) noFocus = false;