From 34ff96a41f2e8489b00aa9d193f112a5aca97fa6 Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:08:49 +0330 Subject: [PATCH] Import project configuration: backend/eslint.config.mjs Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- backend/eslint.config.mjs | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 backend/eslint.config.mjs diff --git a/backend/eslint.config.mjs b/backend/eslint.config.mjs new file mode 100644 index 0000000..38a5613 --- /dev/null +++ b/backend/eslint.config.mjs @@ -0,0 +1,36 @@ +import js from "@eslint/js"; +import tseslint from "typescript-eslint"; + +export default [ + { + ignores: ["dist/**", "node_modules/**", "coverage/**"], + }, + js.configs.recommended, + ...tseslint.configs.recommended, + { + files: ["**/*.ts"], + languageOptions: { + parserOptions: { + project: false, + }, + }, + rules: { + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-unused-vars": [ + "warn", + { argsIgnorePattern: "^_", varsIgnorePattern: "^_", caughtErrorsIgnorePattern: "^_" }, + ], + "no-empty": "off", + }, + }, + { + files: ["**/*.js", "**/*.mjs"], + languageOptions: { + globals: { + Buffer: "readonly", + console: "readonly", + process: "readonly", + }, + }, + }, +];