read tg_bot_updates from db
Deploy app frontend / app frontend (push) Successful in 2m34s
Deploy db-migrations / db-migrations (push) Successful in 1m12s
Deploy service message-delivery-method-web-push / service message-delivery-method-web-push (push) Successful in 1m38s
Deploy service tg-bot / service tg-bot (push) Failing after 2m11s

This commit is contained in:
2024-12-15 03:14:39 +02:00
parent c075c5f708
commit 0ac5e9ce62
31 changed files with 211 additions and 331 deletions
@@ -0,0 +1,25 @@
// eslint.config.mjs
import typescriptPlugin from "@typescript-eslint/eslint-plugin";
import parser from "@typescript-eslint/parser";
export default [
{
ignores: ["dist", "node_modules"], // Исключаем папки из проверки
},
{
files: ["src/**/*.ts"], // Проверяем только TypeScript файлы
languageOptions: {
parser, // Используем парсер TypeScript
ecmaVersion: "latest", // Последняя версия ECMAScript
sourceType: "module", // Модули ES
},
plugins: {
"@typescript-eslint": typescriptPlugin, // Используем плагин TypeScript
},
rules: {
"@typescript-eslint/no-unused-vars": ["error"], // Ошибка для неиспользуемых переменных
semi: ["error", "always"], // Всегда требовать точку с запятой
quotes: ["error", "double"], // Использовать двойные кавычки
},
},
];