Files
CShare/backend/eslint.config.mjs
T
arsam 769264bdfa 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.
2026-09-18 23:12:15 +03:30

17 lines
503 B
JavaScript

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'] }],
},
},
);