From 691f570237e26398aa22f40c0efca23141d5583e Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 25 Jun 2024 00:00:31 +0200 Subject: chore: Enable ESLint for apps and fix all errors Nevertheless this causes a huge amount of new warnings. Previously the shell script for directories to lint was wrong it was generating all app names to lint, but was missing the `apps/` prefix. Causing only `core` to be linted. Co-authored-by: Grigorii K. Shartsev Signed-off-by: Ferdinand Thiessen --- apps/files_external/src/actions/inlineStorageCheckAction.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/files_external/src') diff --git a/apps/files_external/src/actions/inlineStorageCheckAction.ts b/apps/files_external/src/actions/inlineStorageCheckAction.ts index e08b5fe370e..a213c196b50 100644 --- a/apps/files_external/src/actions/inlineStorageCheckAction.ts +++ b/apps/files_external/src/actions/inlineStorageCheckAction.ts @@ -30,9 +30,10 @@ export const action = new FileAction({ /** * Use this function to check the storage availability * We then update the node attributes directly. + * @param node */ async renderInline(node: Node) { - let config = null as any as StorageConfig + let config = null as unknown as StorageConfig try { const response = await getStatus(node.attributes.id, node.attributes.scope === 'system') config = response.data -- cgit v1.2.3