import js from '@eslint/js'; import globals from 'globals'; import tseslint from 'typescript-eslint'; import prettier from 'eslint-config-prettier'; export default [ { ignores: [ 'dist/**', 'node_modules/**', '**/dist/**', '**/vendor/**', '**/*.tsbuildinfo', 'apps/web/dist/**', '.codex-private/**' ] }, js.configs.recommended, ...tseslint.configs.recommended, prettier, { languageOptions: { ecmaVersion: 2022, sourceType: 'module', globals: { ...globals.node } }, rules: { '@typescript-eslint/no-explicit-any': 'error', '@typescript-eslint/no-unused-vars': ['error', { 'argsIgnorePattern': '^_' }] } }, { files: ['apps/web/src/**/*.{js,jsx}'], languageOptions: { ecmaVersion: 2022, sourceType: 'module', parserOptions: { ecmaFeatures: { jsx: true } }, globals: { ...globals.browser, ...globals.es2022 } } } ];