From 769264bdfadb41ee3d41832fa73181ea1d5e3c08 Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:12:15 +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 | 16 ++++++++++++++++ 1 file changed, 16 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..e4f9285 --- /dev/null +++ b/backend/eslint.config.mjs @@ -0,0 +1,16 @@ +import js from '@eslint/js'; +import ts from 'typescript-eslint'; + +export default ts.config( + { ignores: ['dist/', 'node_modules/'] }, + js.configs.recommended, + ...ts.configs.recommended, + { + rules: { + '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }], + '@typescript-eslint/no-explicit-any': 'warn', + '@typescript-eslint/consistent-type-imports': 'error', + 'no-console': ['warn', { allow: ['error', 'warn'] }], + }, + }, +);