chore: setup linting

This commit is contained in:
Max Richter
2026-02-02 16:22:14 +01:00
parent 137425b31b
commit 30e897468a
174 changed files with 6043 additions and 5107 deletions

View File

@@ -1,6 +1,6 @@
import { localState } from '$lib/helpers/localState.svelte';
type Panel = {
export type Panel = {
icon: string;
classes: string;
hidden?: boolean;
@@ -14,6 +14,10 @@ class PanelState {
return Object.keys(this.panels);
}
public unregisterPanel(id: string) {
delete this.panels[id];
}
public registerPanel(id: string, icon: string, classes: string, hidden: boolean): Panel {
const state = $state({
icon: icon,