From e48d89215084c49d630476283ad7803cf616fd5c Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 17 Oct 2023 15:35:07 +0200 Subject: [PATCH] fix: Adjust code to new eslint config (fix lint issues) Signed-off-by: Ferdinand Thiessen --- __tests__/dav/dav.spec.ts | 2 ++ lib/files/nodeData.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/__tests__/dav/dav.spec.ts b/__tests__/dav/dav.spec.ts index dc986b3e..d7698750 100644 --- a/__tests__/dav/dav.spec.ts +++ b/__tests__/dav/dav.spec.ts @@ -86,6 +86,7 @@ describe('DAV requests', () => { // Mock the WebDAV client const client = { + // eslint-disable-next-line @typescript-eslint/no-explicit-any getDirectoryContents: vi.fn((path: string, options: any) => { if (options?.details) { return { @@ -115,6 +116,7 @@ describe('DAV requests', () => { // Mock the WebDAV client const client = { + // eslint-disable-next-line @typescript-eslint/no-explicit-any getDirectoryContents: vi.fn((path: string, options: any) => { if (options?.details) { return { diff --git a/lib/files/nodeData.ts b/lib/files/nodeData.ts index b0d241bf..fe62b291 100644 --- a/lib/files/nodeData.ts +++ b/lib/files/nodeData.ts @@ -24,6 +24,7 @@ import { join } from 'path' import { Permission } from '../permissions' import { NodeStatus } from './node' +// eslint-disable-next-line @typescript-eslint/no-explicit-any export interface Attribute { [key: string]: any } export interface NodeData {