import js from '@eslint/js'; import tseslint from 'typescript-eslint'; import globals from 'globals'; export default tseslint.config( { ignores: ['dist/**', 'node_modules/**', 'prisma/**'], }, js.configs.recommended, ...tseslint.configs.recommended, { languageOptions: { ecmaVersion: 2023, sourceType: 'module', globals: { ...globals.node, }, }, rules: { '@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }], '@typescript-eslint/no-explicit-any': 'warn', '@typescript-eslint/no-non-null-assertion': 'off', 'no-console': 'off', }, } );