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

@@ -49,7 +49,7 @@ export abstract class BaseChatbotService<BotType = any, SettingsType = any> {
try {
JSON.parse(str);
return true;
} catch (e) {
} catch {
return false;
}
}