diff --git a/eslint.config.js b/eslint.config.js index fd398159..1aabbf6c 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -45,7 +45,7 @@ export default [ }, }, { - files: ["tests/unit/**/*.test.{ts,tsx}"], + files: ["tests/unit/**/*.test.{ts,tsx}", "tests/unit/setup.ts"], languageOptions: { ecmaVersion: "latest", sourceType: "module", diff --git a/src/pages/LogUpload/index.tsx b/src/pages/LogUpload/index.tsx index 6e30d828..1c362819 100644 --- a/src/pages/LogUpload/index.tsx +++ b/src/pages/LogUpload/index.tsx @@ -125,6 +125,7 @@ export default function LogUpload() { } }; + // eslint-disable-next-line @typescript-eslint/no-unused-vars const handlePaste = useCallback( async (e: React.ClipboardEvent) => { void e.clipboardData?.items; diff --git a/src/stores/attachmentStore.ts b/src/stores/attachmentStore.ts index 55325f86..05052c3d 100644 --- a/src/stores/attachmentStore.ts +++ b/src/stores/attachmentStore.ts @@ -17,7 +17,7 @@ interface AttachmentState { setSearchQuery(q: string): void; } -export const useAttachmentStore = create((set, get) => ({ +export const useAttachmentStore = create((set) => ({ logFiles: [], images: [], isLoading: false,