This commit is contained in:
Andras Schmelczer 2026-05-31 11:13:13 +01:00
parent ff6c7f6f68
commit 35a962935c
58 changed files with 5642 additions and 151 deletions

38
eslint.config.js Normal file
View file

@ -0,0 +1,38 @@
import js from '@eslint/js';
import globals from 'globals';
import tseslint from 'typescript-eslint';
export default [
{
ignores: [
'dist/**',
'public/static/photos/**',
'src/generated/**',
'playwright-report/**',
'test-results/**',
],
},
js.configs.recommended,
...tseslint.configs.recommended,
{
files: ['**/*.ts'],
languageOptions: {
parser: tseslint.parser,
globals: {
...globals.browser,
},
},
rules: {
'no-undef': 'off',
},
},
{
files: ['**/*.js', '**/*.mjs'],
languageOptions: {
sourceType: 'module',
globals: {
...globals.node,
},
},
},
];