Skip to content

Commit

Permalink
fix: Adjust code to new eslint config (fix lint issues)
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Oct 17, 2023
1 parent 38f97e1 commit e48d892
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __tests__/dav/dav.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions lib/files/nodeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e48d892

Please sign in to comment.