Files
YANPM/apps/frontend/eslint.config.ts
2025-12-19 18:32:39 +08:00

27 lines
597 B
TypeScript

import js from '@eslint/js';
import globals from 'globals';
import tseslint from 'typescript-eslint';
export default tseslint.config(
{
// Ignore files and directories
ignores: ['dist', 'node_modules', 'app/generated'],
},
js.configs.recommended,
...tseslint.configs.recommended,
{
languageOptions: {
ecmaVersion: 2020,
globals: {
...globals.browser,
...globals.node,
},
parserOptions: {
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: import.meta.dirname,
},
},
rules: {},
}
);