summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eslint.config.js2
-rw-r--r--packages/server/src/utils/memoryDiscovery.test.ts4
2 files changed, 5 insertions, 1 deletions
diff --git a/eslint.config.js b/eslint.config.js
index 33447b5f..b515a436 100644
--- a/eslint.config.js
+++ b/eslint.config.js
@@ -90,7 +90,7 @@ export default tseslint.config(
'error',
{ accessibility: 'no-public' },
],
- '@typescript-eslint/no-explicit-any': 'warn',
+ '@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-inferrable-types': [
'error',
{ ignoreParameters: true, ignoreProperties: true },
diff --git a/packages/server/src/utils/memoryDiscovery.test.ts b/packages/server/src/utils/memoryDiscovery.test.ts
index 78ba1ba7..229f51e5 100644
--- a/packages/server/src/utils/memoryDiscovery.test.ts
+++ b/packages/server/src/utils/memoryDiscovery.test.ts
@@ -174,6 +174,7 @@ describe('loadServerHierarchicalMemory', () => {
] as Dirent[];
}
return [] as Dirent[];
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
}) as any);
const { memoryContent, fileCount } = await loadServerHierarchicalMemory(
@@ -246,6 +247,7 @@ describe('loadServerHierarchicalMemory', () => {
] as Dirent[];
}
return [] as Dirent[];
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
}) as any);
const { memoryContent, fileCount } = await loadServerHierarchicalMemory(
@@ -324,6 +326,7 @@ describe('loadServerHierarchicalMemory', () => {
] as Dirent[];
}
return [] as Dirent[];
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
}) as any);
const { memoryContent, fileCount } = await loadServerHierarchicalMemory(
@@ -362,6 +365,7 @@ describe('loadServerHierarchicalMemory', () => {
if (p.toString().startsWith(path.join(CWD, 'deep_dir_')))
return [] as Dirent[];
return [] as Dirent[];
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
}) as any);
mockFs.access.mockRejectedValue(new Error('not found'));