From b9863e5eeec079963f8fbc91e40cf1f6d4f76d1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mert=20=C5=9Ei=C5=9Fmano=C4=9Flu?= Date: Sun, 29 Dec 2024 14:41:42 +0300 Subject: [PATCH] chore(lint): Add chai globals to eslint config - It will prevent ignore 'no-undef' errors for expect. We are globally registered the expect. --- Server/eslint.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Server/eslint.config.js b/Server/eslint.config.js index e6b8f7e7d..13f1fc038 100644 --- a/Server/eslint.config.js +++ b/Server/eslint.config.js @@ -14,6 +14,7 @@ export default [ languageOptions: { globals: { ...globals.node, // Add Node.js globals + ...globals.chai, // Add Chai globals }, ecmaVersion: 2023, sourceType: "module",