refactor(eslint): change unused vars rule to error and update error handling in services

- Update ESLint configuration to set `@typescript-eslint/no-unused-vars` from 'warn' to 'error' for stricter linting.
- Refactor error handling in various services to omit error variable in catch blocks for cleaner code.
This commit is contained in:
Davidson Gomes
2025-09-18 14:59:33 -03:00
parent 0787a10f39
commit 5e08628d89
8 changed files with 29 additions and 29 deletions

View File

@@ -33,7 +33,7 @@ const bucketExists = async () => {
try {
const list = await minioClient.listBuckets();
return list.find((bucket) => bucket.name === bucketName);
} catch (error) {
} catch {
return false;
}
}