Resolve lint warnings
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
<script lang="ts">
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
import { trace } from "@tauri-apps/plugin-log";
|
||||
|
||||
import Basic from "./components/configurations/basic.svelte";
|
||||
import Residents from "./components/configurations/residents.svelte";
|
||||
import Advanced from "./components/configurations/advanced.svelte";
|
||||
|
||||
@@ -68,6 +68,7 @@
|
||||
<button
|
||||
onclick={() => rota.removeForbiddenPair(i)}
|
||||
class="mt-5 rounded-lg p-2 text-zinc-300 transition-colors"
|
||||
aria-label="Remove forbidden pair"
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
<button
|
||||
onclick={() => rota.removeResident(resident.id)}
|
||||
class="text-zinc-500 transition-colors"
|
||||
aria-label="Remove resident"
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
|
||||
@@ -121,7 +121,7 @@ export type ShiftType = "Closed" | "OpenFirst" | "OpenSecond";
|
||||
export type ShiftPosition = "First" | "Second";
|
||||
|
||||
export type SlotKey = `${number}-${"First" | "Second"}`;
|
||||
export type MonthlySchedule = { [key: SlotKey]: string };
|
||||
export type MonthlySchedule = { [key: SlotKey]: number };
|
||||
|
||||
export const steps = [
|
||||
{
|
||||
|
||||
@@ -10,12 +10,6 @@
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"moduleResolution": "bundler",
|
||||
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"$lib": ["./src/lib"],
|
||||
"$lib/*": ["./src/lib/*"]
|
||||
}
|
||||
}
|
||||
|
||||
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
||||
|
||||
Reference in New Issue
Block a user