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.
This commit is contained in:
arsam
2026-09-18 23:12:15 +03:30
parent cf5f3b6e0f
commit 769264bdfa
+16
View File
@@ -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'] }],
},
},
);